Thursday 30 March 2017

Cannot reiindex in python

all_data = pd.concat((train.loc[:,'MSSubClass':'SaleCondition'], test.loc[:,'MSSubClass':'SaleCondition']),ignore_index=True)

Just add ",ignore_index=True" at the end. This should solve the issue

No comments:

Post a Comment