Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # trim at the beginning and at the end in every row in dataframe
- new_ulici_df = new_ulici_df.applymap(lambda x: " ".join(x.split()) if isinstance(x, str) else x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement