pandas Introduction
pandas is the standard Python library for tables of data. Its two main objects are the Series (one column) and the DataFrame (a table). It is built on NumPy and reads CSV, JSON, SQL and Excel.
Example
import pandas as pd
import numpy as np
s = pd.Series([10, 20, 30])
print(s)
print(type(s).__name__)Result
0 10 1 20 2 30 dtype: int64 Series
Exercise
Import pandas with its usual alias.
import pandas as Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.