-
Notifications
You must be signed in to change notification settings - Fork 412
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
Ability to use rolling computations in charts #45
Comments
@mindlessbrain, It sounds like you would like to use rolling computations in general and not for applying them to the standard Currently you can specify and x & y axes to your chart as well as an aggregation. So in the case that you have some timeseries data you could do something like this:
And then I would add some other options strictly associated with rolling computations, for example:
Then once you have made your selections you can click the "Load" button and that will give you a timeseries chart similar to waht you see in the Correlations popup (minus the nice red/yellow/green gradient for the line color) |
Also, I'll only make the "rolling" aggregation available if you've selected a column for the x-axis that is of a datetime data type |
I agree with you on putting it on the "Charts" popup, following the mentioned logic: Agregation -> Computation. It would be useful if it only became available on the presence of a datetime like column on the "X:" axis. What do you think? |
Additionally, I loved the linked behaviour of the "Correlations" popup. Do you think it's possible to have a tool for building linked charts? |
Ok, I forgot about the pairwise stuff. Then my originally suggestion of a rolling toggle on the timeseries correlation chart will be useful and it will simply default to a window of 4, but you'll have to ability to change it if you want. As for the linked chart builder, thats a great idea. It was pretty straight-forward in the correlations world because its only natural to go from timeseries to a scatter of the individual date's data. I've created a new issue with my thoughts, #46 |
@mindlessbrain here is a preview of what the correlations popup will look like with data structured like yours So the way it will work is that in the scenario where you have columns in your dataframe of type datetime and there is only one row of data per date then the data will have this "rolling" capability. Essentially, in this case when you click a cell in the grid it will bring up a rolling pearson correlation (window of 4 by default) on the two columns associated with the cell and it will also bring up the scatter plot as well. As you can see in the screenshot you will be able to change what date & window you're using for the correlations. The original functionality will still exist:
|
That's great, @aschonfeld! When you say
You mean a datetime or a date? |
It does a value_count() on the datetime column you have selected so it should be fine. It doesnt set the frequency to ‘D’ or anything like that. Hoping to get this released tonight and then I can work on adding rolling computations to the main chart builder as well as scatter charts. |
@mindlessbrain v1.6.5 is available which includes the rolling correlation functionality. Will keep you posted on the other features I mentioned earlier. |
Hi, @aschonfeld. There are some suggestions and potential bugs that I am finding. |
I’d post them in a new issue, thanks |
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
- [#47](#47): selection of multiple columns for y-axis - updated histogram bin selection to be an input box for full customization - better display of timestamps in axis ticks for charts - sorting of bar charts by y-axis - [#48](#48): scatter charts in chart builder - "nunique" added to list of aggregations - turned on "threaded=True" for app.run to avoid hanging popups - [#45](#45): rolling computations as aggregations - Y-Axis editor
added in v1.6.6 |
Yes, it would be great to have a feature to perform rolling computations. If it's not asking much, it would be nice to be able to specify the computation method.
Please, let me know if you need help implementting or specifying it.
Originally posted by @mindlessbrain in #43 (comment)
The text was updated successfully, but these errors were encountered: