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

Method _repr_data

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

Source from the content-addressed store, hash-verified

4068 )
4069
4070 def _repr_data(self):
4071 meta = self._meta
4072 index = self._repr_divisions
4073 cols = meta.columns
4074 if len(cols) == 0:
4075 series_df = pd.DataFrame([[]] * len(index), columns=cols, index=index)
4076 else:
4077 series_df = pd.concat(
4078 [_repr_data_series(s, index=index) for _, s in meta.items()], axis=1
4079 )
4080 return series_df
4081
4082
4083class 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