{
  "id": "python/pandas-concat-empty",
  "signature": "ValueError: No objects to concatenate",
  "signature_zh": "ValueError：没有要连接的对象",
  "regex": "ValueError:\\ No\\ objects\\ to\\ concatenate",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "pd.concat called with an empty list of DataFrames.",
  "root_cause_type": "generic",
  "root_cause_zh": "pd.concat 接收到空的 DataFrame 列表。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Propagates None into downstream code",
      "fail_rate": 0.75,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Creates unexpected row/column structure",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "if dfs: result = pd.concat(dfs, ignore_index=True) else: result = pd.DataFrame()",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pd.concat(dfs or [pd.DataFrame()], ignore_index=True)",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-08-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}