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

Function normalize_dataframe

dask/tokenize.py:344–347  ·  view source on GitHub ↗
(df)

Source from the content-addressed store, hash-verified

342
343 @normalize_token.register(pd.DataFrame)
344 def normalize_dataframe(df):
345 mgr = df._mgr
346 data = list(mgr.arrays) + [df.columns, df.index]
347 return list(map(normalize_token, data))
348
349 @normalize_token.register(pd.arrays.ArrowExtensionArray)
350 def normalize_extension_array(arr):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected