Fixed an incorrect solution in pandas.md