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
Taking a cue from #19174 to revisit some logic in core.internals. form_blocks and make_block have some very similar logic. The question here is: are the discrepancies between then intentional?
Taking some liberties to make it more obvious how the logic is shared, the current code looks like:
The two main differences here are 1) is_sparse encompasses slightly more than isinstance(values, SparseArray) and 2)timedelta case is missing form form_blocks. Anyone know why?
The text was updated successfully, but these errors were encountered:
Taking a cue from #19174 to revisit some logic in
core.internals
.form_blocks
andmake_block
have some very similar logic. The question here is: are the discrepancies between then intentional?Taking some liberties to make it more obvious how the logic is shared, the current code looks like:
The two main differences here are 1)
is_sparse
encompasses slightly more thanisinstance(values, SparseArray)
and 2)timedelta
case is missing formform_blocks
. Anyone know why?The text was updated successfully, but these errors were encountered: