Skip to content

Commit eafe462

Browse files
authored
fix typing of dataframe_from_2d_array (#306)
1 parent c4ab5b4 commit eafe462

File tree

1 file changed

+2
-3
lines changed
  • spec/API_specification/dataframe_api

1 file changed

+2
-3
lines changed

spec/API_specification/dataframe_api/typing.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
TYPE_CHECKING,
88
Any,
99
Literal,
10-
Mapping,
10+
Dict,
1111
Protocol,
1212
Sequence,
1313
Union,
@@ -138,8 +138,7 @@ def dataframe_from_2d_array(
138138
self,
139139
array: Any,
140140
*,
141-
names: Sequence[str],
142-
schema: Mapping[str, DType],
141+
schema: Dict[str, DType],
143142
) -> DataFrame:
144143
...
145144

0 commit comments

Comments
 (0)