Skip to content
RED SAG Skills
mediumStudy question · answer published in Pandas interview questions, so no pointspythonpandasstrings

Filtering text with missing values

df[df['notes'].str.contains('refund')] raises an error about masking with NA values. The notes column has some NaN. What fixes it?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions