How to apply a self defined function in Pandas
Albert-Jan Roskam
sjeik_appie at hotmail.com
Sun Oct 31 14:19:55 EDT 2021
> df['URL'] = df.apply(lambda x: connect(df['URL']), axis=1)
I think you need axis=0. Or use the Series, df['URL'] =
df.URL.apply(connect)
More information about the Python-list
mailing list