Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

edit line if str end with pandas

df.loc[df.stime.str.endswith('+2'), 'edate'] = pts['sdate']+1
 
PREVIOUS NEXT
Tagged: #edit #line #str #pandas
ADD COMMENT
Topic
Name
8+6 =