If I have a very long series with an expensive function to apply, it would be good to use the pandas .progess_apply too. It seems that only dataframes and groupbys have this ability.
For example
df = pd.DataFrame(range(1000), columns=['numbers'])
tqdm_pandas(tqdm_notebook())
df.numbers.progress_apply(lambda x: x**2)
Gives the following error:
AttributeError: 'Series' object has no attribute 'progress_apply'
If I have a very long series with an expensive function to apply, it would be good to use the pandas
.progess_applytoo. It seems that only dataframes and groupbys have this ability.For example
Gives the following error: