present_data_size_column
present_data_size_column(
df: DataFrame ,
)-> ‘pd.DataFrame’
Expose _data_size as data_size.
The sample count is private for the same reason _dtype is, and more sharply: patches of different lengths are the ordinary case, and a public column would keep chunk from merging any of them.
A row states no size when it does not know one: a merged or subdivided chunk output, or a patch a selection trims. The column follows the index’s convention of staying nullable (Int64) only when it holds nulls; a column of nothing else arrives from SQL untyped.