Skip to content

Instantly share code, notes, and snippets.

@MoGaber
Created December 14, 2020 05:06
Show Gist options
  • Save MoGaber/7775528edd31a199fec56acedf842e5a to your computer and use it in GitHub Desktop.
Save MoGaber/7775528edd31a199fec56acedf842e5a to your computer and use it in GitHub Desktop.
model
med = model_dataset["avg_time_taken"].median()
model_dataset["avg_time_taken"] = model_dataset["avg_time_taken"].fillna(med)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment