d640ef349b8a52eed57cd3ab3e887f97b4c07062,pynets/cli/pynets_collect.py,,load_pd_dfs,#Any#,93
Before Change
if "sub-sub-" in id:
id = id.replace("topology_auc_sub-", "")
else:
id = id.replace("topology_auc_", "")
if "ses-ses-" in id:
id = id.replace("ses-ses-", "ses-")
id = ("_").join(id.split("_")[0:2])
if ".csv" in id:
id = id.replace(".csv", "")
After Change
return df
if "Unnamed: 0" in df.columns:
df.drop(df.filter(regex="Unnamed: 0"), axis=1, inplace=True)
id = op.basename(file_).split("_topology")[0].split("auc_")[1]
if "sub-sub-" in id:
id = id.replace("sub-sub-", "sub-")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: dPys/PyNets
Commit Name: d640ef349b8a52eed57cd3ab3e887f97b4c07062
Time: 2020-11-02
Author: dpisner@utexas.edu
File Name: pynets/cli/pynets_collect.py
Class Name:
Method Name: load_pd_dfs
Project Name: cuemacro/finmarketpy
Commit Name: 2469eecd6a94184881967f0aee19d1cbf89b22e7
Time: 2016-07-28
Author: saeedamen@hotmail.com
File Name: pythalesians/market/loaders/lowlevel/quandl/loaderquandl.py
Class Name: LoaderQuandl
Method Name: load_ticker
Project Name: EpistasisLab/tpot
Commit Name: ef7e473d04352059c33af7bef48321e5dec7b3da
Time: 2015-11-13
Author: rso@randalolson.com
File Name: setup.py
Class Name:
Method Name: calculate_version