Pandas

Pandas

Pandas is a powerful Python library for data manipulation and analysis, providing data structures like DataFrames that simplify handling and analyzing structured data for various applications, from data cleaning to complex data analysis. Here, you will find hands-on tutorials, example projects and best practices for using Pandas.

30 posts
How to convert CSV to JSON in Python using Pandas
Academy Membership PandasPython

How to convert CSV to JSON in Python using Pandas

📘 Introduction JSON is one of the most widely used data formats for APIs, configurations, storage, and modern applications. Converting CSV to JSON in Python is incredibly simple using Pandas. In this tutorial, we will walk through the full process: creating a sample CSV file, loading it into a Pandas DataFrame,...

How to convert CSV to Parquet in Python using Pandas
Academy Membership PandasPython

How to convert CSV to Parquet in Python using Pandas

📘 Introduction In modern data workflows, Parquet is a popular columnar storage format for efficient data storage and faster analytics. Converting CSV to Parquet in Python is straightforward using Pandas and PyArrow. In this tutorial, we will walk you through the complete process: from creating a sample CSV file, reading it...

Query a Pandas DataFrame using DuckDB
Academy Membership DuckDBPython

Query a Pandas DataFrame using DuckDB

📘 Introduction If you enjoy working with pandas but wish you could use clean, powerful SQL at any time, then DuckDB is the right tool for you. With DuckDB, you can query your DataFrames instantly without having to set up a database, run a server, or change your workflow. ✅ Prerequisites Before...

Create Interactive Multiselect Columns in Streamlit
Academy Membership StreamlitPython

Create Interactive Multiselect Columns in Streamlit

📘 Introduction Streamlit makes it easy to build interactive apps — and its st.data_editor() widget lets users edit data directly inside your app. But what if a single cell needs multiple selections, like tags, skills, or categories? 🤔 That’s where st.column_config.MultiselectColumn comes in! It allows you to...

Speed up your Streamlit App with Caching
Academy Membership StreamlitPython

Speed up your Streamlit App with Caching

📘 Introduction Streamlit makes it super easy to build interactive apps in Python. But as your app grows — loading datasets, running expensive computations, or calling APIs — you might notice it slows down. The good news: Streamlit has a built-in caching system that stores results of expensive operations and reuses them instead...

Pandas - Change Column Types of a DataFrame

Pandas - Change Column Types of a DataFrame

Introduction Data manipulation tasks often involve converting column data types to ensure consistency and accuracy in analysis. In this tutorial, we will show you how to change column types of a Pandas DataFrame. In order to do this, we will use the astype() method, the map() method and the to_...

Pandas - Add an ID Column to a DataFrame
Academy Membership PythonPandas

Pandas - Add an ID Column to a DataFrame

Introduction One common task when working with large datasets is the need to generate unique identifiers for each record. In this tutorial, we will explore how to easily add an ID column to a Pandas DataFrame. In order to do this, we use the index attribute of a Pandas DataFrame....

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.