1. Introduction to Pandas#
Covered in this chapter:
What is Pandas?
Why use Pandas?
What is a DataFrame?
How to Install Pandas
How to Import Pandas (as PD!!)
How to Create a DataFrame from a Dictionary
How to Display a DataFrame
How to Save a DataFrame to CSV
How to Create a DataFrame from a CSV File
How to Create a DataFrame from a JSON File
How to Add a Column to a DataFrame
How to Grab a Specific Column of a DataFrame
How to Convert a Column to a List
How to Grab a Specific Row of a DataFrame
In this chapter, we will begin learning about Pandas, a powerful Python library used for working with tabular data. Throughout this chapter, you will learn about the basics of Pandas, why its useful, how to install it, and how to use it to perform basic tasks.