Add `groupby` options for datetime values in the UI
See original GitHub issueIf you have a date or a time column, then we should automatically make this into a toggle-list in the UI.
E.g. if I had created_at_timestamp
in dbt, it would appear like this in Lightdash:
-
created_at_timestamp
created_at_time
created_at_date
created_at_week
… etc.
Alternative, sleeker option:
-
created_at_timestamp
time
date
week
… etc.
But, when you select one of the options, it puts it on the results table as created at week
(for example)
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (12 by maintainers)
Top Results From Across the Web
Group by and fill missing datetime values - python
You can use DataFrame.reindex per groups with DataFrame.groupby and lambda function: df['datetime'] = pd.to_datetime(df['datetime']) f= ...
Read more >How to Group Pandas DataFrame By Date and Time
In this article, we will discuss how to group by a dataframe on the basis of date and time in Pandas. We will...
Read more >pandas GroupBy: Your Guide to Grouping Data in Python
In this tutorial, you'll learn how to work adeptly with the pandas GroupBy facility while mastering ways to manipulate, transform, ...
Read more >How to handle time series data with ease?
To group on weekdays, we use the datetime property weekday (with Monday=0 and Sunday=6) of pandas Timestamp , which is also accessible by...
Read more >IGroupByEvaluator - Infragistics WPF™ Help
The following example demonstrates how to create a custom IGroupByEvaluator. The CustomDateTimeEvaluator class implements the IGroupByEvaluator interface and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Super awesome!
I almost feel like
order date
shouldn’t be click-able (as in, this shouldn’t be true: “We can always select the main/original dimension”)@ZeRego @owlas summary of our chat:
time_intervals
. You can set this todefault
or set the time interval values you’d like. Default intervals are: [time, day, week, month, year] --> if the dimension is a date then we remove thetime
default value.Interval options are: time, millisecond, second, minute, hour, day, week, month, year
OR