Reading from multiple files

It is quite common having several files identically structured stored in the same folder. We provide a way to read all these files at once, instead of individually load them and then perform a concatenation.

Using terality, you can simply pass the folder name containing your several files as path parameter to the pandas API read methods (read_csv, read_parquet, read_json, read_excel...).

# folder contains 3 csv with identical headers

import terality as pd
df = pd.read_csv("folder/")

Last updated