[Pandas-dev] DataFrame Object creation
Bruno Xavier
brunox.leitao at gmail.com
Mon Feb 11 14:57:09 EST 2019
I'm new in Pandas Library and I got a doubt on DataFrame object
construction.
When building from a list the shape of a dataframe is 1 column with
the row-count
equaling the number of list elements.
Unlike that, if we build it from a dictionary it's shape is 1 row with
the column-count
equalling the number of key-value pairs.
My question is why they are different, why not made both follow the same
pattern?
--
*Atenciosamente, *
*Bruno Xavier Leitão*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pandas-dev/attachments/20190211/f765a4c9/attachment.html>
More information about the Pandas-dev
mailing list