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

Function write_json_partition

dask/dataframe/io/json.py:100–103  ·  view source on GitHub ↗
(df, openfile, kwargs)

Source from the content-addressed store, hash-verified

98
99
100def write_json_partition(df, openfile, kwargs):
101 with openfile as f:
102 df.to_json(f, **kwargs)
103 return os.path.normpath(openfile.path)
104
105
106@dataframe_creation_dispatch.register_inplace("pandas")

Callers

nothing calls this directly

Calls 1

to_jsonMethod · 0.80

Tested by

no test coverage detected