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
un-implement copy
  • Loading branch information
jbrockmendel committed Oct 15, 2018
commit a83adad995a18557bfc4eaecd3921120979baf84
5 changes: 1 addition & 4 deletions pandas/core/arrays/datetimelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def asi8(self):
# factorize
# _formatting_values
# _reduce
# copy

def _validate_fill_value(self, fill_value):
"""
Expand Down Expand Up @@ -196,10 +197,6 @@ def _concat_same_type(cls, to_concat):
values = np.concatenate([x._data for x in to_concat])
return cls._simple_new(values, freq=freq)

def copy(self, deep=False):
# TODO: ignoring `deep`?
return self._shallow_copy(self._data.copy())

# ------------------------------------------------------------------
# Array-like Methods

Expand Down
0