This is my dataframe example
:
| A | B |
|:----|:----|
| 1 | LA |
| 2 |None |
|NaN | TX |
I only want to fill the null values for the last row with the max value of the column.
example.iloc[-1]['A'] = example['A'].max()
The code above does not change the NaN value.