b0d9f5c388202b9114f352fbbef23225fcb91f86,skbio/math/stats/distance/base.py,,bioenv,#Any#Any#Any#,289

Before Change


        max_rhos.append((subset_size, max_rho[0]))
        max_vars.append(", ".join([columns[i] for i in max_rho[1]]))

    return pd.DataFrame.from_records(max_rhos, index=max_vars,
                                     columns=("size", "correlation"))


def _scale(df):
    Center and scale each column in a data frame.

After Change


        vars_label = ", ".join([columns[i] for i in max_rho[1]])
        max_rhos[subset_size - 1] = (vars_label, subset_size, max_rho[0])

    result_df = pd.DataFrame.from_records(max_rhos, index="vars")
    result_df.index.rename(None, inplace=True)
    return result_df


def _scale(df):
    Center and scale each column in a data frame.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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


Project Name: etal/cnvkit
Commit Name: 76f8178b28b6224933946650115459fd3c416357
Time: 2017-02-10
Author: eric.talevich@gmail.com
File Name: cnvlib/tabio/textcoord.py
Class Name:
Method Name: read_text


Project Name: biocore/scikit-bio
Commit Name: 0d7505503ea86a9e3604531025c843622ca6845a
Time: 2014-05-29
Author: jai.rideout@gmail.com
File Name: skbio/math/stats/distance/base.py
Class Name:
Method Name: bioenv