Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

turn false true column into 0 1 pandas

result = df[0].astype(int)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #turn #false #true #column #pandas
ADD COMMENT
Topic
Name
1+4 =