Last active
December 30, 2018 12:50
-
-
Save shotleft/eb21457f5fef8b436ca0e0b8013ae088 to your computer and use it in GitHub Desktop.
Avoid_for_loops_3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df_list_events["Deduped_Events"] = df_list_events["Event"].apply(lambda x: [k for k, g in itertools.groupby(x)]) | |
df_list_events |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment