64624fb2b46a228fef1141e1ded84e52acccaf6e,bin/mahotas-features.py,,main,#,56

Before Change


        features.append(np.concatenate(cur))
        first = False

    features = np.array(features)
    try:
        import pandas as pd
        features = pd.DataFrame(features, index=args.fnames, columns=colnames)
        features.to_csv(args.output, sep="\t")
    except ImportError:
        np.savetxt(args.output, features)

After Change


            for f in fs:
                args.output.write("\t")
                args.output.write("{:.8}".format(f))
            args.output.write("\n")

if __name__ == "__main__":
    main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: luispedro/mahotas
Commit Name: 64624fb2b46a228fef1141e1ded84e52acccaf6e
Time: 2015-06-09
Author: luis@luispedro.org
File Name: bin/mahotas-features.py
Class Name:
Method Name: main


Project Name: streamlit/streamlit
Commit Name: a9ec1a8df7bbfd99d1e166fe5d72bafcc23c915b
Time: 2018-02-03
Author: adrien.g.treuille@gmail.com
File Name: periodic_table.py
Class Name:
Method Name:


Project Name: philipperemy/keras-tcn
Commit Name: 0cfe82c6beb9a28a5ff7da81b86fa0e93c388f14
Time: 2019-11-20
Author: premy@cogent.co.jp
File Name: tasks/save_reload_model.py
Class Name:
Method Name: