Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

replace error with nan pandas

df['workclass'].replace('?', np.NaN)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #error #nan #pandas
ADD COMMENT
Topic
Name
3+1 =