Skip to content

Commit

Permalink
test with zipped file
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahrieubland committed May 31, 2024
1 parent 6b60167 commit 1f4efc0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added download/csv/numbers_salmons_farmed_1.0.csv.zip
Binary file not shown.
9 changes: 9 additions & 0 deletions pinkbombs/graphs/zip_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

import pandas as pd

data1_0_name = 'numbers_salmons_farmed_1.0'
data1_0_file = "data/"+data1_0_name+".csv"
df_data1_0 = pd.read_csv(data1_0_file)

df_data1_0.to_csv("download/csv/"+data1_0_name+".csv.zip",
compression='zip')

0 comments on commit 1f4efc0

Please sign in to comment.