API: pd.concat with len(keys) != len(values) does not raise; intentional? #43485
Labels
API - Consistency
Internal Consistency of API/Behavior
Error Reporting
Incorrect or improved errors from pandas
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
I expected the pd.concat below to raise. It kind of makes sense as a reindex or analogue to the DataFrame constructor, but seems more likely to me to be a footgun. In particular, I think the lack of raising may be hiding a bug in the groupby code.
Is not-raising an intentional decision? If so, thoughts on either deprecating or issuing a warning?
The text was updated successfully, but these errors were encountered: