Importing pandas
Most users of the pandas library will use an import alias so they can refer to it as pd
. In general, in this book, we will not show the pandas and NumPy imports, but they look like this:
import pandas as pd
import numpy as np
While it is an optional dependency in the 2.x series of pandas, many examples in this book will also leverage the PyArrow library, which we assume to be imported as:
import pyarrow as pa