Convert ndarray to pandas dataframe

It is not correct to write pd.Dataframe(res);

res = df.resolution.unique()
a = pd.DataFrame()
a['Unique Resolution Types'] = res

Now, it will work.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top