Skip to content

Commit

Permalink
increase chunk size
Browse files Browse the repository at this point in the history
  • Loading branch information
jarq6c committed Mar 16, 2022
1 parent c7edd7a commit 93850f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nwis_client/src/hydrotools/nwis_client/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def write_to_csv(
ofile.write(output)

# Write data to file
data.to_csv(ofile, mode="a", index=False, float_format="{:.2f}".format, header=header, chunksize=2000)
data.to_csv(ofile, mode="a", index=False, float_format="{:.2f}".format, header=header, chunksize=20000)

@click.command()
@click.argument("sites", nargs=-1, required=False)
Expand Down

0 comments on commit 93850f8

Please sign in to comment.