.append depreciated in pandas
Closed this issue · 1 comments
filefolder commented
Hi, getting a lot of depreciation warning errors (with pandas 1.4.2)
FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
recommend the following edit in _iterator.py, line 1814
old:: updated_arrivals = updated_arrivals.append(_arrivals, ignore_index=True)
new:: updated_arrivals = pd.concat([updated_arrivals, pd.DataFrame.from_records(_arrivals)])
edit: also line 1540. should be relocated_events = pd.concat([relocated_events, pd.DataFrame.from_records(event)])
filefolder commented
changes now merged, closing