We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firstly, thank you for your incredible project.
When I use data from kaggle and run this cell from preprocessing notebook :
pct_columns = ['Str_Acc','Str_Def', 'TD_Acc', 'TD_Def'] def pct_to_frac(X): if X != np.NaN: return float(X.replace('%', ''))/100 else: return 0 for column in pct_columns: fighter_details[column] = fighter_details[column].apply(pct_to_frac)
I get this error:
KeyError: 'Str_Acc' The above exception was the direct cause of the following exception: KeyError Traceback (most recent call last) [/usr/local/lib/python3.7/dist-packages/pandas/core/indexes/base.py](https://localhost:8080/#) in get_loc(self, key, method, tolerance) 3361 return self._engine.get_loc(casted_key) 3362 except KeyError as err: -> 3363 raise KeyError(key) from err 3364 3365 if is_scalar(key) and isna(key) and not self.hasnans: KeyError: 'Str_Acc'
It looks like raw_fighter_details.csv have some missing columns, can you provide feedback ?
raw_fighter_details.csv
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Firstly, thank you for your incredible project.
When I use data from kaggle and run this cell from preprocessing notebook :
I get this error:
It looks like
raw_fighter_details.csv
have some missing columns, can you provide feedback ?The text was updated successfully, but these errors were encountered: