MCPcopy Create free account
hub / github.com/dask/dask / _repr_data

Method _repr_data

dask/dataframe/dask_expr/_collection.py:4089–4099  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4087 )
4088
4089 def _repr_data(self):
4090 meta = self._meta
4091 index = self._repr_divisions
4092 cols = meta.columns
4093 if len(cols) == 0:
4094 series_df = pd.DataFrame([[]] * len(index), columns=cols, index=index)
4095 else:
4096 series_df = pd.concat(
4097 [_repr_data_series(s, index=index) for _, s in meta.items()], axis=1
4098 )
4099 return series_df
4100
4101
4102class Series(FrameBase):

Callers 2

to_stringMethod · 0.95
to_htmlMethod · 0.95

Calls 2

_repr_data_seriesFunction · 0.90
itemsMethod · 0.45

Tested by

no test coverage detected