np.zeros() — A Simple Illustrated Guide

In Python, the numpy.zeros() function returns a new array of given shape and type, filled with zeros.  Here is the parameter table of numpy.zeros(). If it sounds great to you, please continue reading, and you will fully understand the numpy.zeros() function through Python code snippets and vivid visualization. Concretely, I will introduce its syntax and … Read more

How to Scrape Google Search Results?

Problem Formulation 💬 Given a text query/keyword such as “History of Chess”. How to scrape the top Google results for that search query (=keyword) in Python? Disclaimer: Have a look at the important question: Is Web Scraping Legal? Method Summary You can get the top Google search results given a certain keyword string by installing … Read more

Tableau Developer — Income and Opportunity

Before we learn about the money, let’s get this question out of the way: What is Tableau? Let’s have a look at the definition inspired by the official Tableau website: Tableau is a visual data analytics platform focused on the business analytics use case that helps you use data to solve problems. It is great … Read more

Chatbot Developer — Income and Opportunity

Before we learn about the money, let’s get this question out of the way: What Is a Chatbot Developer? A chatbot developer creates software to automate communication with customers and users. An example chatbot application is in customer service for an eCommerce website. Chatbot developers use machine learning and artificial intelligence techniques to communicate with … Read more

Pandas DataFrame to_coo() Method

Preparation Before any data manipulation can occur, four (4) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The NumPy library supports multi-dimensional arrays and matrices in addition to a collection of mathematical functions. The pandas_gbq allows access to Google Big Query (GBQ) The google.auth authentication. To install these libraries, navigate … Read more

Pandas DataFrame to_gbq() Method

This article focuses on the serialization and conversion methods of a Python DataFrame: to_gbq(), to_coo(). Let’s get started! Preparation Before any data manipulation can occur, four (4) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The NumPy library supports multi-dimensional arrays and matrices in addition to a collection of mathematical … Read more

Pandas DataFrame to_string() Method

Preparation Before any data manipulation can occur, three (3) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The Pyarrow library allows writing/reading access to/from a parquet file. The Openpyxl library allows styling/writing/reading to/from an Excel file. To install these libraries, navigate to an IDE terminal. At the command prompt ($), … Read more

Pandas DataFrame to_feather() Method

Preparation Before any data manipulation can occur, three (3) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The Pyarrow library allows writing/reading access to/from a parquet file. The Openpyxl library allows styling/writing/reading to/from an Excel file. To install these libraries, navigate to an IDE terminal. At the command prompt ($), … Read more

Pandas DataFrame to_parquet() Method

Preparation Before any data manipulation can occur, three (3) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The Pyarrow library allows writing/reading access to/from a parquet file. The Openpyxl library allows styling/writing/reading to/from an Excel file. To install these libraries, navigate to an IDE terminal. At the command prompt ($), … Read more

Pandas DataFrame to_xml() Method

Preparation Before any data manipulation can occur, four (4) new libraries will require installation. The Pandas library enables access to/from a DataFrame. The Tabulate library enables formatted output. The Tables library allows formatted output (table format). The lxml library enables writing to an XML file. To install these libraries, navigate to an IDE terminal. At … Read more