Convert the data from this selection to the appropriate pandas type. Parameters ---------- values : np.ndarray nan_rep : str encoding : str errors : str
(
self, values: np.ndarray, nan_rep, encoding: str, errors: str
)
| 2453 | return False |
| 2454 | |
| 2455 | def convert( |
| 2456 | self, values: np.ndarray, nan_rep, encoding: str, errors: str |
| 2457 | ) -> tuple[Index, Index]: |
| 2458 | """ |
| 2459 | Convert the data from this selection to the appropriate pandas type. |
| 2460 | |
| 2461 | Parameters |
| 2462 | ---------- |
| 2463 | values : np.ndarray |
| 2464 | nan_rep : str |
| 2465 | encoding : str |
| 2466 | errors : str |
| 2467 | """ |
| 2468 | assert isinstance(values, np.ndarray), type(values) |
| 2469 | |
| 2470 | index = RangeIndex(len(values)) |
| 2471 | return index, index |
| 2472 | |
| 2473 | def set_attr(self) -> None: |
| 2474 | pass |