Skip to content

Commit

Permalink
Update benchmark.py
Browse files Browse the repository at this point in the history
updated for bench-marking much larger file.
  • Loading branch information
SekouDiaoNlp committed May 14, 2021
1 parent afd181c commit b67b056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
map(data.append, row)"""

numpy_loadtxt = """
numpy.loadtxt(open('$filename'), delimiter=",", skiprows=1)"""
numpy.loadtxt(open('$filename'), delimiter=";", skiprows=1)"""

numpy_genfromtxt = """
numpy.genfromtxt('$filename', delimiter=',', names=True, case_sensitive=True)"""
numpy.genfromtxt('$filename', delimiter=';', names=True, case_sensitive=True)"""

pandas_read_csv = """
pandas.read_csv('$filename', sep=';').values"""
Expand Down

0 comments on commit b67b056

Please sign in to comment.