nrel_p3.utilities.filter
- filter(data, filters)[source]
Run a filter to subselect rows from the table.
- Parameters:
data (pd.DataFrame) – Data table to filter.
filters (dict) – Set of filters where keys are columns in the estimate file and values are one or more items to sub select in the column.
- Returns:
subdf (pd.DataFrame) – Subset of the planning table based on requested filters