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

Method _repr_data

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

Source from the content-addressed store, hash-verified

4117 )
4118
4119 def _repr_data(self):
4120 meta = self._meta
4121 index = self._repr_divisions
4122 cols = meta.columns
4123 if len(cols) == 0:
4124 series_df = pd.DataFrame([[]] * len(index), columns=cols, index=index)
4125 else:
4126 series_df = pd.concat(
4127 [_repr_data_series(s, index=index) for _, s in meta.items()], axis=1
4128 )
4129 return series_df
4130
4131
4132class 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