Skip to content
Advertisement

associate competition with each match row in pandas

I have a dataset for esports matches and I want to associate competition with each match row

JavaScript

I want it like that:

JavaScript

Advertisement

Answer

Let us try where with ffill after select the string with startswith

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement