import terality as te
or as pd
import pandas as pd,
you could just change this line to import terality as pd
and since terality has the same API as pandas, it will work just by having changed this one line.pandas
API, documented here: https://pandas.pydata.org/docs/reference/index.html#api. pandas
, and replace the line import pandas as pd
import terality as pd