8000 TYP: Typing annotations pandas/util/ by ShaharNaveh · Pull Request #30411 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TYP: Typing annotations pandas/util/ #30411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 24, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
@WillAyd suggestions
  • Loading branch information
MomIsBestFriend committed Dec 24, 2019
commit 70b5af48fe31f53c436bc5110242518e9749352f
4 changes: 2 additions & 2 deletions pandas/util/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
)

import pandas._libs.testing as _testing
from pandas._typing import FrameOrSeries
from pandas.compat import _get_lzma_file, _import_lzma

from pandas.core.dtypes.common import (
Expand Down Expand Up @@ -53,7 +54,6 @@
Series,
bdate_range,
)
from pandas._typing import FrameOrSeries
from pandas.core.algorithms import take_1d
from pandas.core.arrays import (
DatetimeArray,
Expand Down Expand Up @@ -101,7 +101,7 @@ def reset_display_options():
pd.reset_option("^display.", silent=True)


def round_trip_pickle(obj: FrameOrSeries, path: Optional[str] = None):
def round_trip_pickle(obj: FrameOrSeries, path: Optional[str] = None) -> FrameOrSeries:
"""
Pickle an object and then read it again.

Expand Down
0