8000 Implement take for EA mixins by jbrockmendel · Pull Request #23159 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Implement take for EA mixins #23159

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

Closed
wants to merge 10 commits into from
Prev Previous commit
Next Next commit
Avoid timezone-loss warning
  • Loading branch information
jbrockmendel committed Oct 15, 2018
commit 755bc5c7db0bf867f8a522b97048c7401e14ec0a
2 changes: 1 addition & 1 deletion pandas/tests/arrays/test_datetimelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_take_fill_valid(self, datetime_index, tz_naive_fixture):

with pytest.raises(ValueError):
# fill_value Period invalid
arr.take([-1, 1], allow_fill=True, fill_value=now.to_period('D'))
arr.take([-1, 1], allow_fill=True, fill_value=pd.Period('2014Q1'))

tz = None if dti.tz is not None else 'US/Eastern'
now = pd.Timestamp.now().tz_localize(tz)
Expand Down
0