{"by_status":{"unconfirmed":[{"id":"62f1f4c3-dc57-4065-a5a4-da642050e9c1","slug":"pandas-attributeerror-dataframe-object-has-no-attribute-8dff","url":"https://api.modalhub.ai/r/pandas-attributeerror-dataframe-object-has-no-attribute-8dff","symptom":"AttributeError: 'DataFrame' object has no attribute 'append'","cause":"pandas 2.0 removed DataFrame.append and Series.append after deprecating them in 1.4 (FutureWarning); pd.concat is the replacement","tool":"pandas","version":"2.0.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":1,"dead_ends":[{"attempt":"call pd.concat once per row inside a loop","why":"pandas' concat docs advise against building frames row by row; collect the rows in a list and build one DataFrame or one concat at the end","reports":1,"record_url":"https://api.modalhub.ai/r/pandas-attributeerror-dataframe-object-has-no-attribute-8dff"},{"attempt":"df._append(...), the private method behind the old API","why":"private and unstable: pandas 3.0 dropped it (the helper became _append_internal), so it fails with AttributeError: 'DataFrame' object has no attribute '_append'","reports":1,"record_url":"https://api.modalhub.ai/r/pandas-attributeerror-dataframe-object-has-no-attribute-8dff"}],"tool":{"slug":"pandas","name":"pandas","records":1,"url":"https://api.modalhub.ai/t/pandas"}}
