Skip to content

CLN (PY2): Remove DataFrame/Series.timetuple #26062

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
Apr 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 0 additions & 4 deletions pandas/core/arrays/datetimes.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,6 @@ class DatetimeArray(dtl.DatetimeLikeArrayMixin,
'normalize', 'strftime', 'round', 'floor',
'ceil', 'month_name', 'day_name']

# dummy attribute so that datetime.__eq__(DatetimeArray) defers
# by returning NotImplemented
timetuple = None

# Needed so that Timestamp.__richcmp__(DateTimeArray) operates pointwise
ndim = 1

Expand Down
4 changes: 0 additions & 4 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ class NDFrame(PandasObject, SelectionMixin):
_metadata = []
_is_copy = None

# dummy attribute so that datetime.__eq__(Series/DataFrame) defers
# by returning NotImplemented
timetuple = None

# ----------------------------------------------------------------------
# Constructors

Expand Down
4 changes: 0 additions & 4 deletions pandas/core/indexes/datetimes.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ def _join_i8_wrapper(joinf, **kwargs):
_comparables = ['name', 'freqstr', 'tz']
_attributes = ['name', 'tz', 'freq']

# dummy attribute so that datetime.__eq__(DatetimeArray) defers
# by returning NotImplemented
timetuple = None

_is_numeric_dtype = False
_infer_as_myclass = True

Expand Down