You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stefan Piatek edited this page Oct 14, 2019
·
1 revision
Generally looking at lot better in v4 than I originally appreciated because I was only looking at percentage of time. 96% to 70% is of course a massive gain, but just didn't twig that.
Further thoughts.
Apply method
Merging to add to column to dataframe using loops
Looping through each individual events due today,
getting the event time per officer and merging this into an ever-growing dataframe
Each column is then looped through to determine if the event will can be run
Dataframe is then used in the get_squeeze_factors method
Thoughts here - keep all of this logic in a dictionary and loop through this instead of iterating through the dataframe columns. Create a dataframe from the dictionary for the get_squeeze_factors method