Pandas

What is Pandas?

Pandas is an open source library that is used to analyze data in Python.

It takes in data, such as a CSV or SQL database, and creates an object with rows and columns called a DataFrame.

Import Pandas

Before we analyze anything, we need to import pandas. Pandas is typically imported with the alias pd.

import pandas as pd

What can pandas do?

  • Loading tabular data from different sources
  • Search for particular rows or columns
  • Calculate aggregate statistics
  • Combining data from multiple sources