Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

treat NaN as a category

g_without_nan = g.cat.add_categories("D").fillna("D")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #treat #NaN #category
ADD COMMENT
Topic
Name
4+1 =