You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If MasterDataset is missing the column mapped to a variable, the code will break as each variable accesses the corresponding data series (i.e. pd.Series) directly from master_dataset (which is a DataFrame).
Alternatively, a get method should be used, so that if the series is not there, the Variable won't be included in the generated data.json file.
(See backend.datasets.generate_json.py)
The text was updated successfully, but these errors were encountered:
…et removed
LA and LSOA counts are now constants in the module, so they can be easily changed.
Moreover, the `Dataset` class now includes two new Class Variables which are used to cache the (geo) dataframes of LA and LSOA data.
This should presumably reduce the time to load data from files.
Moreover, if a data source in Master Dataset is empty, it will be filtered out.
This is still to be handled properly when Variables are loaded (see #111)
If
MasterDataset
is missing the column mapped to a variable, the code will break as each variable accesses the correspondingdata
series (i.e.pd.Series
) directly frommaster_dataset
(which is a DataFrame).Alternatively, a
get
method should be used, so that if the series is not there, the Variable won't be included in the generateddata.json
file.(See
backend.datasets.generate_json.py
)The text was updated successfully, but these errors were encountered: