2702fb9af0
### What changes were proposed in this pull request? Cleaning up the type hints in pandas-on-Spark. - Use a single file `_typing.py` for type variables or aliases - Rename `IndexOpsLike` to `SeriesOrIndex`. - Rename `T_Frame` and `T_IndexOps` to `FrameLike` and `IndexOpsLike` respectively - Introduce `DataFrameOrSeries` for `Union[DataFrame, Series]` ### Why are the changes needed? This is a cleanup for the mypy check stuff series. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests. Closes #33117 from ueshin/issues/SPARK-35859/cleanup. Authored-by: Takuya UESHIN <ueshin@databricks.com> Signed-off-by: Takuya UESHIN <ueshin@databricks.com> |
||
---|---|---|
.. | ||
__init__.py | ||
accessors.py | ||
functions.py | ||
utils.py |