i have a dataframe which i save like this:
Y_train_1.head()
0 4691.0
1 4661.0
2 4631.0
3 4601.0
4 4571.0
Y_train_1.to_csv("Y_train.csv", sep='\t', decimal=',')
then i read this again like this:
Y_train = pd.read_csv("Y_train.csv", sep='\t', decimal=',', index_col=None, header=None))
Y_train.head()
using
Y_train = pd.read_csv("Y_train.csv", sep='\t', decimal=',', index_col=[0], header=None)
i still get a dataframe like this, which is not the same as before?
How can i get the same Dataframe as before?
usi
Thanks,R

