@raghav47 wrote:
So when creating pivot table using python, you have used values=‘Loan_Status’ to grant loan based on the credit history. Will this create a new column and if yes. I am having problem with it because it sending the following error message.
Traceback (most recent call last):
File “”, line 13, in
File “C:\Users\Raghav\PycharmProjects\loan\venv\lib\site-packages\pandas\core\frame.py”, line 5303, in pivot_table
margins_name=margins_name)
File “C:\Users\Raghav\PycharmProjects\loan\venv\lib\site-packages\pandas\core\reshape\pivot.py”, line 61, in pivot_table
raise KeyError(i)
KeyError: ‘LoanStatus’Please help.
Thank you.
Posts: 1
Participants: 1