Measure
Measure things about data.
def byte_size(data)
#
Measure the size of data.
Works for numpy-arrays, pandas DataFrames and Series, and iterables of any of these.
PARAMETER | DESCRIPTION |
---|---|
data |
The data to measure. |
RETURNS | DESCRIPTION |
---|---|
int
|
The size of the data. |