Skip to content

COMPAT: dateutil=2.2 compat #12339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions ci/requirements-3.4.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
python-dateutil
pytz
numpy=1.8.1
cython
libgfortran
1 change: 1 addition & 0 deletions ci/requirements-3.4.pip
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
python-dateutil==2.2
blosc
httplib2
google-api-python-client
1 change: 0 additions & 1 deletion ci/requirements-3.4.run
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
python-dateutil
pytz
numpy=1.8.1
openpyxl
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@ def _possibly_cast_to_datetime(value, dtype, errors='raise'):
errors=errors).tz_localize(dtype.tz)
elif is_timedelta64:
value = to_timedelta(value, errors=errors)._values
except (AttributeError, ValueError):
except (AttributeError, ValueError, TypeError):
pass

# coerce datetimelike to object
Expand Down