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

Function values

dask/dataframe/methods.py:394–400  ·  view source on GitHub ↗
(df)

Source from the content-addressed store, hash-verified

392
393
394def values(df):
395 values = df.values
396 # We currently only offer limited support for converting pandas extension
397 # dtypes to arrays. For now we simply convert to `object` dtype.
398 if is_extension_array_dtype(values):
399 values = values.astype(object)
400 return values
401
402
403def sample(df, state, frac, replace):

Callers

nothing calls this directly

Calls 1

astypeMethod · 0.45

Tested by

no test coverage detected