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