Read the whole file. Parameters ---------- columns : list If not None, only these columns will be read from the file. A column name may be a prefix of a nested field, e.g. 'a' will select 'a.b', 'a.c', and 'a.d.e'. Output always follows th
(self, columns=None)
| 168 | return self.reader.read_stripe(n, columns=columns) |
| 169 | |
| 170 | def read(self, columns=None): |
| 171 | """Read the whole file. |
| 172 | |
| 173 | Parameters |
| 174 | ---------- |
| 175 | columns : list |
| 176 | If not None, only these columns will be read from the file. A |
| 177 | column name may be a prefix of a nested field, e.g. 'a' will select |
| 178 | 'a.b', 'a.c', and 'a.d.e'. Output always follows the |
| 179 | ordering of the file and not the `columns` list. |
| 180 | |
| 181 | Returns |
| 182 | ------- |
| 183 | pyarrow.Table |
| 184 | Content of the file as a Table. |
| 185 | """ |
| 186 | columns = self._select_names(columns) |
| 187 | return self.reader.read(columns=columns) |
| 188 | |
| 189 | |
| 190 | _orc_writer_args_docs = """file_version : {"0.11", "0.12"}, default "0.12" |