Skip to content

Commit

Permalink
Update markov_wrapper.py
Browse files Browse the repository at this point in the history
Fixed missing data bug
  • Loading branch information
Doktorandahl authored Dec 14, 2023
1 parent 023a710 commit bf2753f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/new_markov/markov_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
qs2 = Queryset(qs,'country_month')

data = qs2.fetch()
data = data.fillna(0)
data.to_parquet('tmps/tmp_data.parquet')

pd.DataFrame({'s':steps}).to_parquet('tmps/tmp_steps.parquet')
Expand Down

0 comments on commit bf2753f

Please sign in to comment.