Skip to content

Conversation

arthurlw
Copy link
Member

def _can_fast_intersect(self, other: Self) -> bool:
# Note: we only get here with len(self) > 0 and len(other) > 0
if self.freq is None:
if self.freq is None or self.freq == "C":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the issue isn't just handling "C", but identifying what conditions work in the general case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: DatetimeIndex.intersection with non-anchored freq
2 participants