-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
Open
Labels
BugIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselvescombine/combine_first/updateNDFrame.combine, combine_first, updateNDFrame.combine, combine_first, update
Description
# Based on test_combine_datetlike_udf
df = pd.DataFrame({"A": range(5), "B": range(5)})
df.columns = ["A", "A"]
other = df.copy()
df.iloc[1, :] = None
def combiner(a, b):
return b
>>> df.combine(other, combiner)
AttributeError: 'DataFrame' object has no attribute 'dtype'. Did you mean: 'dtypes'?
Metadata
Metadata
Assignees
Labels
BugIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselvescombine/combine_first/updateNDFrame.combine, combine_first, updateNDFrame.combine, combine_first, update