I want to specify custom time grain #15037
Labels
enhancement:request
Enhancement request submitted by anyone from the community
explore:control
Related to the controls panel of Explore
Projects
Issue
I would like to aggregate my time-series charts on custom time grains. Currently only “1 unit” grains are available: 1s, 1min, 1h, 1 day, etc.
Yet I would like to be able to aggregate by, e.g., 5-minute, 15-minute, 6-hour time buckets.
Requested feature
I want to be able to define custom time grains.
This could happen either:
superset_config.py
): this has the advantage of ensuring that only admin specify time grains (greater chance for the definition to be correct and less burden on users) and enable it for any user in the already existing dropdown.15T
,6H
, etc. : easiest to implement, greatest flexibility, yet risk of parsing garbage)5
,6
, or15
+ dropdown menu to select the unitminute
,hour
, etc.)Alternative
None that I'm aware of.
Additional info
We'd like to have these time grains available to
pandas.resample
advanced feature as well.The text was updated successfully, but these errors were encountered: