Return an iterator yielding the columns.
(self)
| 147 | allow_copy=self._allow_copy) |
| 148 | |
| 149 | def get_columns(self) -> Iterable[_PyArrowColumn]: |
| 150 | """ |
| 151 | Return an iterator yielding the columns. |
| 152 | """ |
| 153 | return [ |
| 154 | _PyArrowColumn(col, allow_copy=self._allow_copy) |
| 155 | for col in self._df.columns |
| 156 | ] |
| 157 | |
| 158 | def select_columns(self, indices: Sequence[int]) -> _PyArrowDataFrame: |
| 159 | """ |