Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
NameError fix
  • Loading branch information
WillAyd committed Oct 23, 2019
commit eeaf136accc90357d7323cfd4c204d9bd3d84fbf
2 changes: 1 addition & 1 deletion pandas/core/internals/construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def init_ndarray(values, index, columns, dtype=None, copy=False):
raise ValueError(
"failed to cast to '{dtype}' (Exception "
"was: {orig})".format(dtype=dtype, orig=orig)
) from e
) from orig

index, columns = _get_axes(*values.shape, index=index, columns=columns)
values = values.T
Expand Down