when i was creating
dataframe df=pd.DataFame(y_test,columns=[“y”] )
and than convert it into csv file ,the csv file that i get is empty file with column name y.
But when i pass parameter df=pd.DataFame(y_test )
than it creates dataframe with y_test values why this happen??
is there any other way to give column name?