03d22bbb0177117498b3021e068611c6b9421e15,nilmtk/dataset_converters/wikienergy/download_wikienergy.py,,download_wikienergy,#Any#Any#Any#Any#,38

Before Change



        // saves all chunks
        if len(dataframe_list) > 0:
            dataframe_concat = pd.concat(dataframe_list)
            //dataframe_concat.to_csv(output_directory + str(building_id) + ".csv")

    store.close()
    conn.close()

After Change


    store = pd.HDFStore(hdf_filename, "w", complevel=9, complib="zlib")
    
    // remove existing building yaml files in module dir
    for f in os.listdir(join(_get_module_directory(), "metadata")):
        if re.search("^building", f):
            os.remove(join(_get_module_directory(), "metadata", f))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilmtk/nilmtk
Commit Name: 03d22bbb0177117498b3021e068611c6b9421e15
Time: 2014-07-21
Author: oliparson@gmail.com
File Name: nilmtk/dataset_converters/wikienergy/download_wikienergy.py
Class Name:
Method Name: download_wikienergy


Project Name: bokeh/bokeh
Commit Name: 061d916ba77932d50e41c83f476d8c0d55674856
Time: 2018-10-13
Author: xavart2011@gmail.com
File Name: examples/app/gapminder/main.py
Class Name:
Method Name:


Project Name: theislab/scanpy
Commit Name: fe2638b41cf3ab3040a34a080bcf10ea7ed86a88
Time: 2020-12-03
Author: fidel.ramirez@gmail.com
File Name: scanpy/get.py
Class Name:
Method Name: obs_df