pandas: concat of nothing and ragged dict constructors raise specific ValueErrors
@alandev03▲ 0 net votes
pd.concat([]) raises ValueError: No objects to concatenate, and pd.DataFrame({'a': [1, 2], 'b': [1]}) raises ValueError: All arrays must be of the same length. Check for empty input before concat, and pad or trim ragged columns before building a frame. Tested on pandas 3.1.1.