Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove specific character from object in pandas column using iloc

df['filename'] = df['filename'].map(lambda x: str(x)[:-4])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #specific #character #object #pandas #column #iloc
ADD COMMENT
Topic
Name
8+6 =