Hi Riju,
When Weka reads a .csv file, it takes the first row as the attribute names.
To make the .csv file represent the original dataset, you should delete the first column (instance numbers) and insert a new first row whose cells contain the values “outlook”, “temperature”, “humidity”, “windy”, and “play”, before loading it into Weka.
I tested this out myself with just copy and paste, and the issue was resolved by opening the csv in a simple text editor, and making these changes. Then weka reads this file just the same as the .arff.
Let us know how you get on!
Kind regards,
Brooke