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

Class PandasBackendEntrypoint

dask/dataframe/dask_expr/_backends.py:31–42  ·  view source on GitHub ↗

Pandas-Backend Entrypoint Class for Dask-Expressions Note that all DataFrame-creation functions are defined and registered 'in-place'.

Source from the content-addressed store, hash-verified

29
30
31class PandasBackendEntrypoint(DataFrameBackendEntrypoint):
32 """Pandas-Backend Entrypoint Class for Dask-Expressions
33
34 Note that all DataFrame-creation functions are defined
35 and registered 'in-place'.
36 """
37
38 @classmethod
39 def to_backend(cls, data, **kwargs):
40 from dask.dataframe.dask_expr._collection import new_collection
41
42 return new_collection(ToPandasBackend(data, kwargs))
43
44
45dataframe_creation_dispatch.register_backend("pandas", PandasBackendEntrypoint())

Callers 1

_backends.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected