SNIPPET
1 Upvote

Get Average Length of Text in a DataFrame Column

Python
Visualisation & EDA

df['col_name'].str.len()).mean()

By detro - Last Updated Oct. 20, 2021, 3:34 p.m.

COMMENTS
RELATED SNIPPETS
2
Search Snippets by Tag: