File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13import abc
24import datetime as dt
35from io import BytesIO
@@ -402,7 +404,7 @@ def dataset(self) -> str:
402404 return str (self ._metadata ["dataset" ])
403405
404406 @property
405- def dtype (self ) -> np .dtype : # type: ignore
407+ def dtype (self ) -> np .dtype [ Any ]:
406408 """
407409 Return the binary struct format for the data schema.
408410
@@ -873,7 +875,7 @@ def to_json(
873875 map_symbols = map_symbols ,
874876 ).to_json (path , orient = "records" , lines = True )
875877
876- def to_ndarray (self ) -> np .ndarray : # type: ignore
878+ def to_ndarray (self ) -> np .ndarray [ Any , Any ]:
877879 """
878880 Return the data as a numpy `ndarray`.
879881
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13from enum import Enum
24from os import PathLike
35from pathlib import Path
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13import os
24from datetime import date
35from os import PathLike
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13import warnings
24from datetime import date
35from io import BufferedIOBase , BytesIO
You can’t perform that action at this time.
0 commit comments