DataProcess Documentation
Overview
DataProcess is a class for advanced data processing and analysis of aerosol data. It provides methods for data cleaning, transformation, and statistical analysis.
Basic Usage
from AeroViz import DataProcess
# Initialize with data from RawDataReader
processor = DataProcess(data)
# Process the data
processed_data = processor.process()
Methods
process()
Process the input data with default settings.
clean_data()
Clean the data by removing outliers and filling missing values.
transform()
Transform the data (e.g., log transformation).
analyze()
Perform statistical analysis on the data.
Parameters
data
(DataFrame): Input data from RawDataReadermethods
(list): List of processing methods to applyparams
(dict): Parameters for each processing method
Returns
- DataFrame: Processed data with applied transformations and cleaning
Examples
Basic Processing
Custom Processing
processor = DataProcess(
data,
methods=['clean', 'transform', 'analyze'],
params={
'clean': {'threshold': 3},
'transform': {'method': 'log'},
'analyze': {'window': '1D'}
}
)
processed_data = processor.process()
Notes
- The DataProcess class is designed to work seamlessly with data from RawDataReader
- All processing methods are configurable through parameters
- Results can be saved to various formats (CSV, Excel, etc.)