piper.verbs.memory¶
-
piper.verbs.memory(df: pandas.core.frame.DataFrame) → pandas.core.frame.DataFrame[source]¶ show dataframe consumed memory (mb)
Examples
from piper.factory import sample_sales from piper.verbs import memory import piper memory(sample_sales()) >> Dataframe consumes 0.03 Mb
- Parameters
df – pandas dataframe
- Returns
- Return type
A pandas dataframe