DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
find max length in string in pandas dataframe
df.text.map(lambda x: len(x)).max() #or df['text_corrected'].max()
PREVIOUS
NEXT
Tagged:
#find
#max
#length
#string
#pandas
#dataframe
ADD COMMENT
Topic
COMMENT
Name
4+2 =
Submit