python - How to change the shape of a Pandas Dataframe (row number with an "L")? -


i have 1 column pandas dataframe of shape (362l,), , change (362, 103). how can that?

just figured out, since object of shape (362l,) pandas series, need change dataframe, this:

pd.dataframe(df) 

that's it!


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -