Skip to content

Commit 3140c5c

Browse files
authored
Merge pull request #50 from jakewilliami/dev
Added sort_bounds example
2 parents 8e6f920 + b7ac620 commit 3140c5c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/sort_bounds.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using DataFrames, CSV
2+
3+
# use bounds.jl to get the hamming bounds
4+
datafile = "/Users/jakeireland/Desktop/hamming_bound_integers_10000.csv"
5+
6+
df = sort(DataFrame(CSV.read(datafile)), :hamming_bound)
7+
df[!,:] = round.(BigInt, df[!,:])
8+
9+
println(df[1:20, :])
10+

0 commit comments

Comments
 (0)