Skip to content

Commit a57aa9b

Browse files
committed
annotate
1 parent 6feadcf commit a57aa9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/internals/construction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,10 +644,10 @@ def _list_of_dict_to_arrays(
644644

645645
def _finalize_columns_and_data(
646646
content: np.ndarray,
647-
columns,
647+
columns: Optional[Union[Index, List]],
648648
dtype: Optional[DtypeObj],
649649
coerce_float: bool,
650-
) -> Tuple[List[np.ndarray], Index]:
650+
) -> Tuple[List[np.ndarray], Union[Index, List[Axis]]]:
651651
"""
652652
Ensure we have valid columns, cast object dtypes if possible.
653653
"""

0 commit comments

Comments
 (0)