Cannot initialize a data frame with None

22 views
Skip to first unread message

jie...@zalando.de

unread,
Oct 13, 2016, 8:46:51 AM10/13/16
to PyData
Hi all,

just figured out that the following code

pd.DataFrame({'x':None}, index=[0])

works in 0.18.1 but not 0.19.0, is that the expected behavior? Thanks!

Best,
Jie

Joris Van den Bossche

unread,
Oct 13, 2016, 4:34:11 PM10/13/16
to PyData
For future reference: it is indeed a regression and has already been reported (https://github.com/pandas-dev/pandas/issues/14381). A fix will probably be included in a future 0.19.1 release

Joris

--
You received this message because you are subscribed to the Google Groups "PyData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pydata+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages