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

Method values

dask/dataframe/dask_expr/_collection.py:1427–1440  ·  view source on GitHub ↗

Return a dask.array of the values of this dataframe Warning: This creates a dask.array without precise shape information. Operations that depend on shape information, like slicing or reshaping, will not work.

(self)

Source from the content-addressed store, hash-verified

1425
1426 @property
1427 def values(self):
1428 """Return a dask.array of the values of this dataframe
1429
1430 Warning: This creates a dask.array without precise shape information.
1431 Operations that depend on shape information, like slicing or reshaping,
1432 will not work.
1433 """
1434 if is_extension_array_dtype(self._meta.values):
1435 warnings.warn(
1436 "Dask currently has limited support for converting pandas extension dtypes "
1437 f"to arrays. Converting {self._meta.values.dtype} to object dtype.",
1438 UserWarning,
1439 )
1440 return self.map_partitions(methods.values)
1441
1442 def __divmod__(self, other):
1443 result = self.expr.__divmod__(other)

Callers 15

test_read_bytesFunction · 0.45
test_read_bytes_blockFunction · 0.45
test_open_files_writeFunction · 0.45
test_read_bytesFunction · 0.45
test_read_bytes_blockFunction · 0.45
build_itersFunction · 0.45
test_foldbyFunction · 0.45
assert_max_depsFunction · 0.45
_to_string_dtypeFunction · 0.45
_normalize_specFunction · 0.45
_build_agg_argsFunction · 0.45

Calls 1

map_partitionsMethod · 0.95

Tested by 15

test_read_bytesFunction · 0.36
test_read_bytes_blockFunction · 0.36
test_open_files_writeFunction · 0.36
test_read_bytesFunction · 0.36
test_read_bytes_blockFunction · 0.36
test_foldbyFunction · 0.36
test_pyarrow_filesystemFunction · 0.36
test_from_pandasFunction · 0.36
test_set_indexFunction · 0.36