Skip to content

Commit

Permalink
rename data file
Browse files Browse the repository at this point in the history
  • Loading branch information
linozen committed Dec 14, 2021
1 parent e820361 commit 9edd558
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def answered_by(group):
# Import data from stored pickle
# ===========================================================================

df = pd.read_pickle("data/merged.pkl")
df = pd.read_pickle("data/guarding_survey.pkl.pkl")

# ===========================================================================
# General configuration
Expand Down Expand Up @@ -617,11 +617,11 @@ def callback():
[Github](https://github.com/snv-berlin/ioi).
"""
)
with open("data/merged.csv", "rb") as file:
with open("data/guarding_survey.csv", "rb") as file:
st.download_button(
label="Download data as CSV",
data=file,
file_name="GUARDINT_survey_data_merged.csv",
file_name="guardint_survey.csv",
)

country_counts = df[filter]["country"].value_counts()
Expand Down
6 changes: 3 additions & 3 deletions scripts/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,6 @@ def construct_ms_df():
# Export data to file
# ===========================================================================

df.to_pickle("data/merged.pkl")
df.to_excel("data/merged.xlsx")
df.to_csv("data/merged.csv")
df.to_pickle("data/guarding_survey.pkl")
df.to_excel("data/guarding_survey.xlsx")
df.to_csv("data/guarding_survey.csv")

0 comments on commit 9edd558

Please sign in to comment.