(self, attr, *args, **kwargs)
| 57 | return maybe_wrap_pandas(obj, out) |
| 58 | |
| 59 | def _function_map(self, attr, *args, **kwargs): |
| 60 | from dask.dataframe.dask_expr._collection import Index, new_collection |
| 61 | |
| 62 | if isinstance(self._series, Index): |
| 63 | return new_collection( |
| 64 | FunctionMapIndex(self._series, self._accessor_name, attr, args, kwargs) |
| 65 | ) |
| 66 | |
| 67 | return new_collection( |
| 68 | FunctionMap(self._series, self._accessor_name, attr, args, kwargs) |
| 69 | ) |
| 70 | |
| 71 | def _property_map(self, attr, *args, **kwargs): |
| 72 | from dask.dataframe.dask_expr._collection import Index, new_collection |
no test coverage detected