# AttributeError：'DataFrame' 对象没有 'append' 属性

- **ID:** `python/pandas-attribute-error-append`
- **领域:** python
- **类别:** module_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

DataFrame.append 在 pandas 2.0 中已被移除。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 3.x | active | — | — |

## 解决方案

1. **** (95% 成功率)
   ```
   pd.concat([df1, df2], ignore_index=True)
   ```
2. **** (90% 成功率)
   ```
   Collect rows in a list and build once: pd.DataFrame(rows)
   ```

## 无效尝试

- **** — Breaks other dependencies; no long-term fix (70% 失败率)
- **** — Method truly removed (90% 失败率)
