72f3f5bf50ed2d91cdcfbe2cf47120a2df8883cd,nilmtk/results.py,Results,append,#Results#Any#Any#,51
Before Change
intersect = tf.intersect(timeframe)
if not intersect.empty:
raise ValueError("Periods overlap: " + str(tf) +
" " + str(timeframe))
row = pd.DataFrame(index=[timeframe.start],
columns=["end"] + new_results.keys())
row["end"] = timeframe.end
After Change
new_results : dict
if not isinstance(timeframe, TimeFrame):
raise TypeError("`timeframe` must be of type "nilmtk.TimeFrame","
" not "{}" type.".format(type(timeframe)))
if not isinstance(new_results, dict):
raise TypeError("`new_results` must of a dict, not "{}" type."
.format(type(new_results)))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: nilmtk/nilmtk
Commit Name: 72f3f5bf50ed2d91cdcfbe2cf47120a2df8883cd
Time: 2014-11-26
Author: jack-list@xlk.org.uk
File Name: nilmtk/results.py
Class Name: Results
Method Name: append
Project Name: pymc-devs/pymc3
Commit Name: e494b3f14c9888d1b1c28a7a17305d9904928ae1
Time: 2016-02-19
Author: superbobry@gmail.com
File Name: pymc3/model.py
Class Name:
Method Name: Point
Project Name: pantsbuild/pants
Commit Name: e8ccd90f029a17d1822c37ebe259d77243fe2e67
Time: 2019-03-05
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/engine/selectors.py
Class Name: Get
Method Name: __new__