Jun-27-2019, 02:32 AM
It is very important to post your error messages! I see you are missing a comma in
.loc
, should be loc[:, ...]
. And, what are you trying to do? Switch columns order? You can access underlying numpy array by df.values
.