Datasets manipulations (tranformations/change) API. #430
Labels
api
Common API for plotting
dataframe
An issue/PR related to dataframe
enhancement
New feature or request
lets-plot
API and implementation for lets-plot
statistics
An issue/PR related to statisctical
Problem №1
We have a lot of data transformations methods inside the plot builder that modify dataset (such as
groupBy(){ }
,statBin(){ }
):There will also be others in the future (for example
sortBy() { }
).The problem is that they are not isolated in any way, they “break” the context of plot builder, being on the same level as creating layers.
Problem №2
We have no API for dataset changing. Sometimes, we want to use different datasets for different layers:
Possible solution
Both of these problems are related to the design of the dataset manipulation inside plot builder. A possible solution is to put all such manipulations under one object inside the plot builder. It could go something like this:
The text was updated successfully, but these errors were encountered: