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 e3883cc commit f382c82Copy full SHA for f382c82
data_algebra/cdata.py
@@ -286,8 +286,9 @@ def rowrecs_to_blocks(
286
dcol = ctemp[vk][i]
287
if dcol in donor_cols:
288
nvals = numpy.asarray(dtemp[dcol])
289
- if len(nvals) > 0:
290
- res.loc[want, vk] = nvals
+ if len(nvals) < 1:
+ nvals = [None] * numpy.sum(want)
291
+ res.loc[want, vk] = nvals
292
# see about promoting composite columns to numeric
293
for vk in set(value_keys):
294
converted = local_data_model.to_numeric(res[vk], errors="coerce")
0 commit comments