May-07-2018, 01:39 AM
(May-04-2018, 07:16 AM)issac_n Wrote: I wanted to remove index row, because it return index number 0,1,2,3.... by default
>>> x = pd.DataFrame({'x':[7,8,9], 'y':[4,5,6]}) >>> x x y 0 7 4 1 8 5 2 9 6So, do you want to remove
0, 1, 2
in the example above? If so, you need to know that pandas series and data frames always have an index...