Skip to content

Commit

Permalink
Get rid of pandas warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-wallace committed Aug 30, 2023
1 parent 559bf8c commit 791b1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion choicemodels/tools/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def iterative_lottery_choices(
capacity, size = (alt_capacity, chooser_size)

len_choosers = len(choosers)
valid_choices = pd.Series()
valid_choices = pd.Series(dtype='float64')
iter = 0

while (len(valid_choices) < len_choosers):
Expand Down

0 comments on commit 791b1cc

Please sign in to comment.