Join GitHub today
Raise more helpful exception when concat() wrongly called as concat(obj1,obj2) #3481
concat is supposed to be called with objs = a list or dict. Not multiple objects as as separate args. RIGHT: concat([df1,df2]) WRONG: concat(df1,df2)
df1 = pd.DataFrame(randn(5,3), columns=['a','b','c'])
ValueError: Cannot call bool() on DataFrame.