search for: x2w

Displaying 1 result from an estimated 1 matches for "x2w".

Did you mean: x2
2012 Jul 19
3
Maintaining Column names while writing csv file.
...ata frame has columns as date, r1, r2, r3, 1w, 2w However, if I try to write this new dataframe as a csv file as write.csv(data.frame(df_new), 'df_new.csv', row.names = FALSE) The file gets written, but when I open the csv file, the column names displayed are as date, r1, r2, r3, X1w, X2w My original output file has about 200 columns so it is not possible to write column names individually. Also, I can't change the column names since I am receiving these files from external source and need to maintain the column names. Kindly guide Regards Vincy [[alternative HTML versio...