Skip to content

Instantly share code, notes, and snippets.

@MoGaber
Created December 14, 2020 05:06
Show Gist options
  • Save MoGaber/5bf4b8bc31d63b44c0d1755cb961600d to your computer and use it in GitHub Desktop.
Save MoGaber/5bf4b8bc31d63b44c0d1755cb961600d to your computer and use it in GitHub Desktop.
descriptive
model_dataset["avg_time_taken"]= model_dataset["avg_time_taken"][model_dataset["avg_time_taken"].notnull()].apply(lambda x: x.total_seconds()/3600)
model_dataset["avg_time_taken"].describe()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment