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

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

python 2.7 - Lines in my code being skipped and I am not sure why -

python - multiprocessing pool with map -