@@ -92,21 +92,21 @@ def get_logical_type(arrow_type):
9292def get_numpy_logical_type_map ():
9393 global _numpy_logical_type_map # noqa: F824
9494 if not _numpy_logical_type_map :
95- _numpy_logical_type_map .update ({ # type: ignore[arg-type ]
96- np .bool_ : 'bool' , # type: ignore
97- np .int8 : 'int8' , # type: ignore
98- np .int16 : 'int16' , # type: ignore
99- np .int32 : 'int32' , # type: ignore
100- np .int64 : 'int64' , # type: ignore
101- np .uint8 : 'uint8' , # type: ignore
102- np .uint16 : 'uint16' , # type: ignore
103- np .uint32 : 'uint32' , # type: ignore
104- np .uint64 : 'uint64' , # type: ignore
105- np .float32 : 'float32' , # type: ignore
106- np .float64 : 'float64' , # type: ignore
95+ _numpy_logical_type_map .update ({ # type: ignore[reportCallIssue ]
96+ np .bool_ : 'bool' ,
97+ np .int8 : 'int8' ,
98+ np .int16 : 'int16' ,
99+ np .int32 : 'int32' ,
100+ np .int64 : 'int64' ,
101+ np .uint8 : 'uint8' ,
102+ np .uint16 : 'uint16' ,
103+ np .uint32 : 'uint32' ,
104+ np .uint64 : 'uint64' ,
105+ np .float32 : 'float32' ,
106+ np .float64 : 'float64' ,
107107 'datetime64[D]' : 'date' ,
108- np .str_ : 'string' , # type: ignore
109- np .bytes_ : 'bytes' , # type: ignore
108+ np .str_ : 'string' ,
109+ np .bytes_ : 'bytes' ,
110110 })
111111 return _numpy_logical_type_map
112112
@@ -779,7 +779,7 @@ def make_datetimetz(unit, tz):
779779 if _pandas_api .is_v1 ():
780780 unit = 'ns' # ARROW-3789: Coerce date/timestamp types to datetime64[ns]
781781 tz = pa .lib .string_to_tzinfo (tz )
782- return _pandas_api .datetimetz_type (unit , tz = tz ) # type: ignore
782+ return _pandas_api .datetimetz_type (unit , tz = tz ) # type: ignore[reportArgumentType]
783783
784784
785785def table_to_dataframe (
@@ -826,7 +826,8 @@ def table_to_dataframe(
826826
827827 return df
828828 else :
829- from pandas .core .internals import BlockManager # type: ignore
829+ from pandas .core .internals import ( # type: ignore[reportMissingImports]
830+ BlockManager )
830831 from pandas import DataFrame
831832
832833 blocks = [
0 commit comments