afabbad05a30ca32b6c5403c0567647a870ff24a,censusdata.py,,,#,61

Before Change


if __name__ == "__main__":
    // Pass in the path to SF1SAS.zip
    codesFromZipFile(sys.argv[1])
    for fileno in CensusCodes:
        print("\n==== File", fileno)
        for pcode in CensusCodes[fileno]:
            print("%7s: %s" % (pcode, CensusCodes[fileno][pcode]))

After Change




if __name__ == "__main__":
    parser = argparse.ArgumentParser(
        description="Parse US Decennial census data")

    parser.add_argument("-c", action="store", dest="code",
                        help="Show filenumber containing 6-digit census code")
    parser.add_argument("-d", action="store", dest="desc",
                        help="Show entries containing a long description")

    parser.add_argument("zipfile", help="location of SF1SAS.zip file")

    args = parser.parse_args(sys.argv[1:])
    print(args)

    // Pass in the path to SF1SAS.zip
    codesFromZipFile(args.zipfile)

    if args.code:
        print("Files with code %s:" % args.code, file_for_code(args.code))

    elif args.desc:
        codes = codes_for_description(args.desc)
        print("Codes containing description "%s":" % args.desc)
        for pair in codes:
            print("%s: %s" % pair)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 25

Instances


Project Name: akkana/scripts
Commit Name: afabbad05a30ca32b6c5403c0567647a870ff24a
Time: 2019-09-21
Author: akkana@shallowsky.com
File Name: censusdata.py
Class Name:
Method Name:


Project Name: pytorch/examples
Commit Name: 01d70cd14b2bd9f1754b94e03c3555ec412a3845
Time: 2020-02-12
Author: rvarm1@fb.com
File Name: distributed/rpc/parameter_server/rpc_param_server.py
Class Name:
Method Name:


Project Name: akkana/scripts
Commit Name: afabbad05a30ca32b6c5403c0567647a870ff24a
Time: 2019-09-21
Author: akkana@shallowsky.com
File Name: censusdata.py
Class Name:
Method Name:


Project Name: pytorch/benchmark
Commit Name: 8040b5e891eafc78c50ca1474f4402f64213fb1d
Time: 2021-03-26
Author: xzhao9@fb.com
File Name: torchbenchmark/util/torch_nightly.py
Class Name:
Method Name: