99095d5412483ec623278bdb1a0c9e24b18bfc85,pdpipe/basic_stages.py,Bin,_op,#Bin#Any#Any#,324
Before Change
self._get_col_binner(self._bin_map[colname]))
inter_df = df.assign(**assign_map)
if self._drop:
return inter_df.drop(list(self._bin_map.keys()), axis=1)
return inter_df
def __str__(self):
After Change
loc = df.columns.get_loc(colname) + 1
new_name = colname + "_bin"
if self._drop:
inter_df = inter_df.drop(colname, axis=1)
new_name = colname
loc -= 1
inter_df = out_of_place_col_insert(
df=inter_df,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: shaypal5/pdpipe
Commit Name: 99095d5412483ec623278bdb1a0c9e24b18bfc85
Time: 2017-03-16
Author: shaypal5@gmail.com
File Name: pdpipe/basic_stages.py
Class Name: Bin
Method Name: _op
Project Name: metagenome-atlas/atlas
Commit Name: 3ab0e54a3ce88c7018a34192461dd47e5867d357
Time: 2017-01-28
Author: joe.brown@pnnl.gov
File Name: atlas/tables.py
Class Name:
Method Name: col_split
Project Name: etal/cnvkit
Commit Name: 595b2e87cd6c77b3a95b061fa3678561a4987134
Time: 2017-01-01
Author: eric.talevich@gmail.com
File Name: cnvlib/coverage.py
Class Name:
Method Name: interval_coverages