MCPcopy
hub / github.com/dask/dask / values

Method values

dask/dataframe/dask_expr/_collection.py:1433–1446  ·  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

1431
1432 @property
1433 def values(self):
1434 """Return a dask.array of the values of this dataframe
1435
1436 Warning: This creates a dask.array without precise shape information.
1437 Operations that depend on shape information, like slicing or reshaping,
1438 will not work.
1439 """
1440 if is_extension_array_dtype(self._meta.values):
1441 warnings.warn(
1442 "Dask currently has limited support for converting pandas extension dtypes "
1443 f"to arrays. Converting {self._meta.values.dtype} to object dtype.",
1444 UserWarning,
1445 )
1446 return self.map_partitions(methods.values)
1447
1448 def __divmod__(self, other):
1449 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