Replies: 1 comment
-
I'm aware of that problem. The issue is that this would make it the only argument and returned value in the Ergast API wrapper that is named differently than it is in the original Ergast API. This will lead to confusion again. So the question is, where do you want to create the confusion. It is unlucky that round is an internal name in Python. I don't really want to change this. But I could maybe add a warning to the |
Beta Was this translation helpful? Give feedback.
-
Also rename round in the dataframe columns to event_number. Python is recognizing round() function when using it to get a cell value
eg.
race_names_df[race_names_df['raceName'] == event]['round'].values[0]
works butrace_names_df[race_names_df['raceName'] == event].round.values[0]
doesn't workBeta Was this translation helpful? Give feedback.
All reactions