(dfs, ignore_order=False)
| 237 | |
| 238 | |
| 239 | def concat_and_check(dfs, ignore_order=False): |
| 240 | if len(set(map(len, dfs))) != 1: |
| 241 | raise ValueError("Concatenated DataFrames of different lengths") |
| 242 | return methods.concat(dfs, axis=1, ignore_order=ignore_order) |
| 243 | |
| 244 | |
| 245 | def _contains_index_name(df, columns_or_index): |