I am trying to convert a tuple in dataframe but this is showing me an error.
ValueError: DataFrame constructor not properly called!
Codes are:
dfPercentage=(round((customer.isna().mean())*100),2)
df = pd.DataFrame(data=dfPercentage, columns =['Columns', 'Count'])
can some one help, what is the error.