Pandas DataFrame corr() Method

Preparation Before any data manipulation can occur, two (2) 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. To install these libraries, navigate to an IDE terminal. At the command prompt ($), execute the code … Read more

pd.DataFrame.groupby() – A Simple Illustrated Guide

In Python, the pandas.DataFrame.groupby() function splits a pandas.DataFrame into subgroups. It is a part of a full groupby operation, where we usually split the data, apply a function, and then combine the result. Here is the argument table of pandas.DataFrame.groupby(). If it sounds great to you, please continue reading, and you will fully understand the … Read more

Data Preparation in Data Science

Data preparation is a crucial step in data science and data analytics. Data preparation is the process of cleaning and transforming raw data before analyzing and processing it further. It involves multiple steps such as gathering, assessing, cleaning, transforming, reformatting, correcting, filtering and combining data. Improving the data quality will usually lead to improved quality … Read more

How to Fix ImportError: No module named pandas [Mac/Linux/Windows/PyCharm]

Quick Fix: Python raises the ImportError: No module named pandas when it cannot find the Pandas installation. The most frequent source of this error is that you haven’t installed Pandas explicitly with pip install pandas. Alternatively, you may have different Python versions on your computer, and Pandas is not installed for the particular version you’re … Read more

Easy Exploratory Data Analysis (EDA) in Python with Visualization

With Exploratory Data Analysis (EDA) functions in Python, it is easy to get a quick overview of a dataset. The EDA’s goal is the statistical summary and graphical visualization of a dataset. This will help to discover patterns, missing values and help to extract further information for statistical modeling.  The first step in the data … Read more

How to Find Common Elements of Two Lists in Python

Problem Formulation and Solution Overview In this article, you’ll learn how to locate and return the common elements of two (2) lists in Python. To make it more fun, we have the following running scenario: Bondi Brokers offers two (2) Marketable Bonds: 3-years and 5-years. Each yields different amounts. To determine which Bond best suits … Read more

How to Sum two DataFrame Columns

Problem Formulation and Solution Overview In this article, you’ll learn how to sum two (2) DataFrame columns in Python. To make it more fun, we have the following running scenario: Wine-It, a subscription-based crate company, ships a different bottle of wine to subscribers each month. They have 50,000+ users and need a quick way to … Read more

How to Create a Pie Chart with Seaborn Easily?

Seaborn is a data visualization library for Python. This tutorial will briefly describe simple techniques for styling a pie chart using only a single function from this robust library.  Although Seaborn does not include a function to build pie charts, it can be used to refine the aesthetics of pie charts created with Matplotlib. The … Read more

Line Charts — Learning Line Charts with Streamlit

Streamlit is an easy-to-use rapid web application development platform. It can create compelling data visualizations using python. Line charts are one of the many types of charts that Streamlit can display. Line charts are often a great visual for displaying numerical data over time.  This tutorial will teach you how to easily create and configure … Read more

Top 4 Jupyter Notebook Alternatives for Machine Learning

In this article, we review some of the online options for running Python using online (Jupyter) Notebooks. The Python Landscape There are a number of platforms available for running Python. Some of these include: Install Python on your own machine. Use Jupyter notebooks on your own machine. Use a data science platform like Anaconda on … Read more

15 Highly Profitable Freelancing Niches Developers Miss Out On [Video Collection]

In this guide, I’ve compiled the top 7 freelancing niches I found highly profitable based on my experience working as a business owner and freelancer myself, hiring hundreds of freelance developers for my company, and teaching thousands of freelancing students through our books and courses. Each niche is presented with a video where I show … Read more