Max Bade
Nov 8, 2022

--

From lines >= 109, specify your own params. the df I was using was called `final_df` but pass in your df (whatever it's called). and for `main_cols` pass in any extra columns you want to include in the output (for instance, I added in user_ids, dates etc. b/c these will likely have more than the 100 unique values).

--

--

Max Bade
Max Bade

Written by Max Bade

Data Science and Analytics Consultant. Email: Maxbade@yahoo.com. linkedIn:www.linkedin.com/in/maxbade github:https://github.com/maxwellbade

Responses (1)