Loading and storing data from a DataFrame