Hi!

I am using the outfile command to export a dataset.dta into csv:

outfile using dataset.csv, comma replace

The dataset contains 5,000 observations and 12 variables in Stata. After running the outfile command, I opened the dataset.csv file and contains 10,000 observations and 9 variables. I have no clue why this happens, if useful: Stata database contains zero missings values, and I already imported other four dataset with less variables with no problem.

Thank you in advance!