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

Method from_dict

dask/dataframe/backends.py:67–83  ·  view source on GitHub ↗

Create a DataFrame collection from a dictionary Parameters ---------- data : dict Of the form {field : array-like} or {field : dict}. npartitions : int The desired number of output partitions. **kwargs : Optional backend kw

(data: dict, *, npartitions: int, **kwargs)

Source from the content-addressed store, hash-verified

65
66 @staticmethod
67 def from_dict(data: dict, *, npartitions: int, **kwargs):
68 """Create a DataFrame collection from a dictionary
69
70 Parameters
71 ----------
72 data : dict
73 Of the form {field : array-like} or {field : dict}.
74 npartitions : int
75 The desired number of output partitions.
76 **kwargs :
77 Optional backend kwargs.
78
79 See Also
80 --------
81 dask.dataframe.io.io.from_dict
82 """
83 raise NotImplementedError
84
85 @staticmethod
86 def read_parquet(path: str | list, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected