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

Method values

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

1465
1466 @property
1467 def values(self):
1468 """Return a dask.array of the values of this dataframe
1469
1470 Warning: This creates a dask.array without precise shape information.
1471 Operations that depend on shape information, like slicing or reshaping,
1472 will not work.
1473 """
1474 if is_extension_array_dtype(self._meta.values):
1475 warnings.warn(
1476 "Dask currently has limited support for converting pandas extension dtypes "
1477 f"to arrays. Converting {self._meta.values.dtype} to object dtype.",
1478 UserWarning,
1479 )
1480 return self.map_partitions(methods.values)
1481
1482 def __divmod__(self, other):
1483 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