Notebook / Pandas bug when assigning cenlon/cenlat
pat-schmitt opened this issue · comments
Patrick Schmitt commented
For info and to keep track here is the issue report for the notebook / pandas bug: pandas-dev/pandas#46268
Maybe also a more elegant solution in the notebook could be to initialise empty columns before assigning cenlon/cenlat like template['CenLon'] = ''
then the line template.loc[i, 'CenLon'] = np.array(cenlon)
could be undone to template.loc[i, 'CenLon'] = cenlon
again.
Patrick Schmitt commented
This bug was solved in pandas, check the linked issue from above for more details.