Continuing the cleaning of the dataset I've been looking at in other videos.
In this video:
1. Using df.groupby to group a DataFrame by a column
2. Converting text into a timedelta object, which is similar to a PQ duration, so we can use arithmetic on the values
3. Applying a custom function to the groups in grouped data
4. Removing columns from a DataFrame
5. Renaming columns in a DataFrame
As I'm using Python in Excel more, I'm starting to really appreciate the 2D nature of the grid and the immediate feedback of executing several cells of Python code.
Small change, view the result, another small change, view the result.
It's an incredibly intuitive way of working!
Yesterday the audience for Python in Excel was increased - did you get access? 💬
#data #analytics #python #excel #pythoninexcel
Sur cette page du site, vous pouvez voir la vidéo en ligne Python in Excel! Part 8 - Applying a data cleaning function to grouped data! 🐍🤩 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur flexyourdata 29 août 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,605 fois et il a aimé 74 téléspectateurs. Bon visionnage!