Data Scientist

Data Scientist

As a Data Scientist, I use statistical methods such as ML algorithms in order to identify patterns and to extract knowledge from data.

37 posts
Pandas - Replace Null Values in a DataFrame

Pandas - Replace Null Values in a DataFrame

Introduction In this tutorial, we want to replace null values in a Pandas DataFrame. In order to do this, we use the the fillna() method of Pandas. Import Libraries First, we import the following python modules: import numpy as np import pandas as pd Create Pandas DataFrame Next, we create...

Pandas - Remove Null Values from a DataFrame

Pandas - Remove Null Values from a DataFrame

Introduction In this tutorial, we want to drop rows with null values from a Pandas DataFrame. In order to do this, we use the the dropna() method of Pandas. Import Libraries First, we import the following python modules: import numpy as np import pandas as pd Create Pandas DataFrame Next,...

Pandas - Remove Duplicates from a DataFrame

Pandas - Remove Duplicates from a DataFrame

Introduction In this tutorial, we want to drop duplicates from a Pandas DataFrame. In order to do this, we use the the drop_duplicates() method of Pandas. Import Libraries First, we import the following python modules: import numpy as np import pandas as pd Create Pandas DataFrame Next, we create...

Pandas - Filter Rows from a DataFrame

Pandas - Filter Rows from a DataFrame

Introduction In this tutorial, we want to filter specific rows from a Pandas DataFrame based on specific conditions. In order to do this, we use DataFrame conditions with logical operators, the loc() method and the query() method of Pandas. Import Libraries First, we import the following python modules: import pandas...

Pandas - Sort a DataFrame

Pandas - Sort a DataFrame

Introduction In this tutorial, we want to sort a Pandas DataFrame by specific columns. In order to do this, we use the  sort_values() method of Pandas. Import Libraries First, we import the following python modules: import numpy as np import pandas as pd Create Pandas DataFrame Next, we create...

Pandas - Drop Columns from a DataFrame

Pandas - Drop Columns from a DataFrame

Introduction In this tutorial, we want to drop columns from a Pandas DataFrame. In order to do this, we use the the drop() method of Pandas. Import Libraries First, we import the following python modules: import pandas as pd Create Pandas DataFrame Next, we create a Pandas DataFrame with some...

Pandas - Add Columns to a DataFrame

Pandas - Add Columns to a DataFrame

Introduction In this tutorial, we want to add columns to a Pandas DataFrame. In order to do this, we use square brackets [] with the name of the new column. Import Libraries First, we import the following python modules: import numpy as np import pandas as pd Create Pandas DataFrame Next,...

Pandas - Select Columns from a DataFrame

Pandas - Select Columns from a DataFrame

Introduction In this tutorial, we want to select specific columns from a Pandas DataFrame. In order to do this, we use square brackets [], the loc() method and the iloc() method of Pandas. Import Libraries First, we import the following python modules: import pandas as pd Create Pandas DataFrame Next, we...

Pandas - Rename Columns of a DataFrame

Pandas - Rename Columns of a DataFrame

Introduction In this tutorial, we want to rename a Pandas DataFrame column. In order to do this, we use the the rename() method of Pandas. Import Libraries First, we import the following python modules: import pandas as pd Create Pandas DataFrame Next, we create a Pandas DataFrame with some example...

You’ve successfully subscribed to Deep Learning Nerds | The ultimate Learning Platform for AI and Data Science
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.