606165054f1130f0df50a419e89939e6a3afdb01,skbio/io/format/blast6.py,,_blast6_to_data_frame,#Any#Any#Any#,260

Before Change



    df = pd.read_csv(fh, na_values="N/A", sep="\t", header=None)

    if len(list(df.columns.values)) != len(names):
        raise ValueError("The amount of data you have supplied does not match"
                         " the number of columns.")

After Change


                             "" % (column, possible_columns))
        df.replace("nan", np.nan, inplace=True)
        try:
            df[column] = df[column].astype(_possible_columns[column])
        except ValueError as e:
            raise BLAST6FormatError("Could not convert column %r into dtype"
                                    "%r. Original Pandas error message: "
                                    ""%s"" % (column,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: biocore/scikit-bio
Commit Name: 606165054f1130f0df50a419e89939e6a3afdb01
Time: 2015-10-02
Author: kestrel.gorlick@gmail.com
File Name: skbio/io/format/blast6.py
Class Name:
Method Name: _blast6_to_data_frame


Project Name: etal/cnvkit
Commit Name: 98f615864e32057dd5b0bf80506e54857ba2a869
Time: 2016-09-12
Author: eric.talevich@gmail.com
File Name: cnvlib/tabio/seg.py
Class Name:
Method Name: parse_seg


Project Name: OpenNMT/OpenNMT-tf
Commit Name: ea2a0bfb9f60f7e03a3ed25244622e0d90b275a5
Time: 2019-03-27
Author: guillaume.klein@systrangroup.com
File Name: opennmt/inputters/record_inputter.py
Class Name:
Method Name: write_sequence_record