You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUG: Switched shapes in ValueError msg in DataFrame construct (#20742) (#24725)
* BUG: Switched shapes in ValueError msg in DataFrame construct (#20742)
* DOC: improved docu of the value error msg changes
TST: adjusted panel test for change in value error msg in block manager
TST: adjusted dataframe init test from json for change in value error
msg in block manager
* BUG: printed a list instead of a tuple in the ValueError msg
* CLN: removed unnecessary list comprehension
* DOC: Improved whatsnew message
* CLN: readded deleted tests
CLN: removed issue number above new tests
* Bug: No changes for panel
* DOC: improved whatsnew message for reversed shapes
* DOC: improved comments and whatsnew message for df construction error
* DOC: improved whatsnew message
Copy file name to clipboardexpand all lines: doc/source/whatsnew/v0.24.0.rst
+2
Original file line number
Diff line number
Diff line change
@@ -1817,6 +1817,7 @@ Reshaping
1817
1817
- Bug in :func:`DataFrame.unstack` where a ``ValueError`` was raised when unstacking timezone aware values (:issue:`18338`)
1818
1818
- Bug in :func:`DataFrame.stack` where timezone aware values were converted to timezone naive values (:issue:`19420`)
1819
1819
- Bug in :func:`merge_asof` where a ``TypeError`` was raised when ``by_col`` were timezone aware values (:issue:`21184`)
1820
+
- Bug showing an incorrect shape when throwing error during ``DataFrame`` construction. (:issue:`20742`)
1820
1821
1821
1822
.. _whatsnew_0240.bug_fixes.sparse:
1822
1823
@@ -1854,6 +1855,7 @@ Other
1854
1855
1855
1856
- Bug where C variables were declared with external linkage causing import errors if certain other C libraries were imported before Pandas. (:issue:`24113`)
0 commit comments