CodeSleepEat
CodeSleepEat

Reputation: 45

Where does Pandas store metadata info?

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?

Upvotes: 2

Views: 281

Answers (1)

mozway
mozway

Reputation: 261820

It is not stored, it is computed on demand.

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

Upvotes: 1

Related Questions