aeaeb8c961e99d60b60a65e519e4b0c61747942c,lifelines/fitters/__init__.py,RegressionFitter,_compute_central_values_of_raw_training_data,#RegressionFitter#Any#Any#Any#,1196
Before Change
// apply this function within each stratified dataframe
central_stats = []
for stratum, df_ in df.groupby(strata):
central_stats.append(self._compute_central_values_of_raw_training_data(df_, name=stratum).drop(strata, axis=1))
return pd.concat(central_stats)
else:
described = df.describe(include="all")
After Change
except:
pass
central_stats.append(central_stats_)
v = pd.concat(central_stats)
v.index.rename(utils.make_simpliest_hashable(strata), inplace=True)
return v
else:
described = df.describe(include="all")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: CamDavidsonPilon/lifelines
Commit Name: aeaeb8c961e99d60b60a65e519e4b0c61747942c
Time: 2020-08-04
Author: cam.davidson.pilon@gmail.com
File Name: lifelines/fitters/__init__.py
Class Name: RegressionFitter
Method Name: _compute_central_values_of_raw_training_data
Project Name: okfn-brasil/serenata-de-amor
Commit Name: 73ad6c44ac50b5af8ae4421b243550d32a6c952c
Time: 2017-03-20
Author: cuducos@users.noreply.github.com
File Name: src/fetch_purchases_suppliers.py
Class Name:
Method Name: retrieve_data
Project Name: biocore/scikit-bio
Commit Name: b0d9f5c388202b9114f352fbbef23225fcb91f86
Time: 2014-05-29
Author: jai.rideout@gmail.com
File Name: skbio/math/stats/distance/base.py
Class Name:
Method Name: bioenv