Deep Learning Nerds Academy
The ultimate Learning Platform for AI, Data Science, Data Analytics and Data Engineering.

PySpark - Read CSV File into DataFrame

PySpark - Read CSV File into DataFrame

Introduction In this tutorial, we want to read a CSV file into a PySpark DataFrame. In order to do this, we use the csv() method and the format("csv").load() method of PySpark DataFrameReader. Besides, we use spark.read for creating a DataFrameReader instance. Import Libraries First, we...

Maplotlib - Subplots

Maplotlib - Subplots

Introduction In this tutorial, we we want to draw several Plots in one figure. We can achieve this by using Subplots. In order to create a Subplot, we use the subplot() function of Matplotlib. Import Libraries First, we import the Pyplot submodule. The Pyplot submodule contains a collection of important...

Pandas - Write DataFrame to CSV File

Pandas - Write DataFrame to CSV File

Introduction In this tutorial, we want to write a Pandas DataFrame to a CSV file. In order to do this, we use the to_csv() 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...

Seaborn - Swarmplots

Seaborn - Swarmplots

Introduction In this tutorial, we want to create a Swarmplot. In order to do this, we use the swarmplot() function of Seaborn. Import Libraries First, we import the following python modules: import seaborn as sns import matplotlib.pyplot as plt Load Data We would like to use a seaborn sample...

PySpark - Explode Arrays into Rows of a DataFrame
Academy Membership PySparkPython

PySpark - Explode Arrays into Rows of a DataFrame

Introduction In this tutorial, we want to explode arrays into rows of a PySpark DataFrame. In order to do this, we use the explode() function and the explode_outer() function of PySpark. Import Libraries First, we import the following python modules: from pyspark.sql import SparkSession from pyspark.sql.functions...

Generative AI - Why now?

Generative AI - Why now?

Introduction In this tutorial, we want to explain why Generative AI (GenAI) is possible now. In order to do this, we describe the key factors that are responsible for the rise of Generative AI. Factors The key factors that enable Generative AI are availability of large datasets, computational power, and...

Matplotlib - Colormaps

Matplotlib - Colormaps

Introduction In this tutorial, we want to have a look at some Colormaps provided by Matplotlib and use them in a Scatterplot. Import Libraries First, we import the Pyplot submodule. The Pyplot submodule contains a collection of important functions such as the plot() function or the scatter() function. In addition,...

Pandas - Read CSV File into DataFrame

Pandas - Read CSV File into DataFrame

Introduction In this tutorial, we want to read a CSV file into a Pandas DataFrame. In order to do this, we use the read_csv() function of Pandas. Import Libraries First, we import the following python modules: import pandas as pd CSV File We consider the CSV file "frameworks....

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.