We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc7a7f2 commit 268d7f9Copy full SHA for 268d7f9
pandas/tseries/index.py
@@ -1202,7 +1202,8 @@ def intersection(self, other):
1202
not other.offset.isAnchored() or
1203
(not self.is_monotonic or not other.is_monotonic)):
1204
result = Index.intersection(self, other)
1205
- result = self._simple_new(result._values, name=result.name, tz=result.tz)
+ result = self._simple_new(result._values, name=result.name,
1206
+ tz=result.tz)
1207
if result.freq is None:
1208
result.offset = to_offset(result.inferred_freq)
1209
return result
0 commit comments