-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Description
I have a DataFrame of prices with a DatetimeIndex. I’m trying to filter rows in QueryBuilder based on a specific minute value from the index.
Example:
q = adb.QueryBuilder()
q = q[q["index"].dt.minute == 10]
# AttributeError: 'ExpressionNode' object has no attribute 'dt'
q = q[q["index"].minute == 10]
# AttributeError: 'ExpressionNode' object has no attribute 'minute'It seems that datetime accessors like .dt or .minute are not supported on ExpressionNode.
Question:
What is the correct way to filter a datetime index by time components (e.g., minute, hour, time, or exact timestamp) when using QueryBuilder? Is this functionality supported, or is there an alternative recommended approach?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels