Where does Pandas store metadata info?

Viewed 93

Where does pandas store its metadata information? For eg. if pandas.dataframe.info() is executed, it returns the metadata information.

Where is this metadata getting stored? or do Pandas generate it dynamically without storing anywhere? Also, if it is getting stored, how to find the memory usage the metadata is taking?

1 Answers

It is not stored, it is computed on demand.

This is done by DataFrameInfo, you can check the source of pandas.io.formats.info

Related