Skip to content

Commit 3cc977c

Browse files
committed
[nomerge] state of the art debugging
1 parent d271764 commit 3cc977c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/internals/construction.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,12 +358,16 @@ def ndarray_to_mgr(
358358
not is_dtype_equal(instance.dtype, values.dtype)
359359
for instance in dtlike_vals
360360
):
361+
import sys
362+
print('hit1', file=sys.stderr)
361363
dvals_list = [ensure_block_shape(dval, 2) for dval in dtlike_vals]
362364
block_values = [
363365
new_block(dvals_list[n], placement=n, ndim=2)
364366
for n in range(len(dvals_list))
365367
]
366368
else:
369+
import sys
370+
print('hit2', file=sys.stderr)
367371
nb = new_block(values, placement=slice(len(columns)), ndim=2)
368372
block_values = [nb]
369373
else:

0 commit comments

Comments
 (0)