I am getting the error ImportError: cannot import name 'timedelta'.
from this line in my code:
from datetime import timedelta, datetime
I just installed pandas using pip install pandas
and also conda install -f pandas
I dont get any error when I write import pandas
. When I write which python
I get /Users/zpu/miniconda3/bin/python
When I want to debug the first line is
/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5