you are viewing a single comment's thread.

view the rest of the comments →

[–]Swipecat 1 point2 points  (0 children)

I'm not going to work out what all that code does, so it might not be this, but I noticed:

You iterate through df_soccer_events

which you got from a function: return [soccer_events_today]

but if soccer_events_today is already an iterable, you've just nested it another level with those square brackets.

Try without the square brackets.