fastai / “ImportError: cannot import name ‘add_datepart’”

Hello Aishwarya,
I’m trying to reproduce this amazing code. But,
Despite that I replaced “from fastai.structured import add_datepart” with the suggested solution:
“from fastai.tabular import add_datepart”.
I still get “ImportError: cannot import name ‘add_datepart’”
Do you have any other suggestion?
Thank you for your time,


I have the same issue, let me know if you found a solution to this.

Same issue, have you solved it :face_with_raised_eyebrow:Maybe can not find any solution on Internet

© Copyright 2013-2020 Analytics Vidhya