Pandas Exploding Dataframes

preview_player
Показать описание
Using python's pandas library to clean an excel file. Single column contains comma separated ids. Loading data into a pandas dataframe. Data is then reshaped into long format so that each row only contains a single id entry by using panda's explode dataframe function.
Рекомендации по теме
Комментарии
Автор

that was a game changer for me. I used iterrows and this is much better! Thanks

kevinhamb
Автор

Thank you so much for the video . I was struggling to find this, now I can go ahead with my assignment.

muskanvij
Автор

what about multi-column explode? I get "ValueError: column must be a scalar" although I do everything as in the documentation, on another pc my code works. What to do?

AzarovRom