-
Notifications
You must be signed in to change notification settings - Fork 1k
Add remaining pandas PDSH queries #21108
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Matt711 In this PR itself, for existing queries can you switch all datetime scalars to np.datetime64 scalars as you have in the new queries?
xref: #21101 (comment)
Yup, you mean |
Nope, |
Replace all instances of np.datetime64 with datetime from the datetime standard library for consistency with other queries in the file. Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Okay not sure why I didn't see fallback when I turned on raise for fallback. |
- Q1-Q9: Use np.datetime64 for date literals - Q10+: Use datetime from datetime standard library This split allows Q1-Q9 to use numpy's datetime64 type while Q10+ uses Python's native datetime type. Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Description
Courtesy of cursor-agent. Still took a lot of back and forth, stopping the agent, etc. Started from this prompt. And then clean up at the ending (e.g. removing unnecessary casts).
Checklist