3e6810fabecf13e815b9d93284ca4ee16819d03d,nilmtk/dataset_converters/combed/convert_combed.py,,convert_combed,#Any#Any#Any#,42
Before Change
if exists:
total = pd.concat(dfs, axis=1)
total = total.tz_localize("UTC").tz_convert("Asia/Kolkata")
total.rename(columns=lambda x: column_mapping[x], inplace=True)
total.columns.set_names(LEVEL_NAMES, inplace=True)
assert total.index.is_unique
store.put(str(key), total)
convert_yaml_to_hdf5(join(_get_module_directory(), "metadata"),
After Change
if exists:
total = pd.concat(dfs, axis=1)
total = total.tz_localize("UTC").tz_convert("Asia/Kolkata")
total.columns = pd.MultiIndex.from_tuples([column_mapping[x] for x in total.columns])
total.columns.set_names(LEVEL_NAMES, inplace=True)
assert total.index.is_unique
store.put(str(key), total)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: nilmtk/nilmtk
Commit Name: 3e6810fabecf13e815b9d93284ca4ee16819d03d
Time: 2018-06-25
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/combed/convert_combed.py
Class Name:
Method Name: convert_combed
Project Name: nilmtk/nilmtk
Commit Name: 59c2829cc4a2ce0aa7b1ad03e5cdae55e8cb032c
Time: 2019-06-23
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/iawe/convert_iawe.py
Class Name:
Method Name: convert_iawe
Project Name: nilmtk/nilmtk
Commit Name: f334dd79dce5dd76927bc3af3bf0174bb9f34040
Time: 2019-06-22
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/ampds/convert_ampds.py
Class Name:
Method Name: convert_ampds