lux.executor.Executor.Executor¶
-
class
lux.executor.Executor.
Executor
[source]¶ Abstract class for the execution engine that fetches data for a given vis on a LuxDataFrame
Methods
__init__
()Initialize self. compute_data_model
(data_type)compute_data_model_lookup
(data_type)compute_data_type
(self)compute_stats
(self)execute
(vislist, ldf, approx)Given a VisList, fetch the data required to render the vis. execute_2D_binning
(vis)Apply 2D binning (heatmap) to vis.data execute_aggregate
(vis, ldf)Aggregate data points on an axis for bar or line charts execute_binning
(ldf, vis)Binning of data points for generating histograms execute_filter
(vis)Apply a Vis’s filter to vis.data invert_data_type
(data_type)mapping
(rmap)reverseMapping
(map)-
static
execute
(vislist: lux.vis.VisList.VisList, ldf: lux.core.frame.LuxDataFrame, approx: bool = False)[source]¶ Given a VisList, fetch the data required to render the vis.
-
static
execute_aggregate
(vis: lux.vis.Vis.Vis, ldf: lux.core.frame.LuxDataFrame)[source]¶ Aggregate data points on an axis for bar or line charts
-
static