We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d271764 commit 3cc977cCopy full SHA for 3cc977c
pandas/core/internals/construction.py
@@ -358,12 +358,16 @@ def ndarray_to_mgr(
358
not is_dtype_equal(instance.dtype, values.dtype)
359
for instance in dtlike_vals
360
):
361
+ import sys
362
+ print('hit1', file=sys.stderr)
363
dvals_list = [ensure_block_shape(dval, 2) for dval in dtlike_vals]
364
block_values = [
365
new_block(dvals_list[n], placement=n, ndim=2)
366
for n in range(len(dvals_list))
367
]
368
else:
369
370
+ print('hit2', file=sys.stderr)
371
nb = new_block(values, placement=slice(len(columns)), ndim=2)
372
block_values = [nb]
373
0 commit comments