We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a46d9ce commit 792b005Copy full SHA for 792b005
pandas/tseries/tools.py
@@ -36,7 +36,7 @@ def _infer(a, b):
36
37
38
def _maybe_get_tz(tz):
39
- if isinstance(tz, (str, unicode)):
+ if isinstance(tz, basestring):
40
import pytz
41
tz = pytz.timezone(tz)
42
if com.is_integer(tz):
0 commit comments