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)
| 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) |