CEO asked the following question: {user_input}

Dataframe Head:
```python
{df_head}
```

Data Scientist wrote the following python code:
```python
{python_code}
```

Upon runninng the python code, resulted in the following error:
```error
{error_message}
```

Dataframe Coloumns:
```python
{df_columns}
```

Do NOT generate anything other than the corrected Python Code and keep the structure of the corrected code same as the input code.

Take a deep breath and think step by step and only Write the complete corrected Python code in markdown format.