forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pandas-dev#25942 Added ArrayLike and Dtype to pandas._typing
- Loading branch information
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
from pathlib import Path | ||
from typing import IO, AnyStr, Union | ||
from typing import IO, AnyStr, Type, Union | ||
|
||
import numpy as np | ||
|
||
from pandas.core.dtypes.dtypes import ExtensionDtype | ||
from pandas.core.dtypes.generic import ABCExtensionArray | ||
|
||
ArrayLike = Union[ABCExtensionArray, np.ndarray] | ||
Dtype = Union[str, np.dtype, ExtensionDtype, Type] | ||
FilePathOrBuffer = Union[str, Path, IO[AnyStr]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters