We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4539a15 commit 320937dCopy full SHA for 320937d
pyathena/result_set.py
@@ -7,7 +7,6 @@
7
import logging
8
import re
9
10
-import pandas as pd
11
from future.utils import raise_from
12
from past.builtins.misc import xrange
13
@@ -379,6 +378,7 @@ def fetchall(self):
379
378
return rows
380
381
def _as_pandas(self):
+ import pandas as pd
382
if not self.output_location:
383
raise ProgrammingError('OutputLocation is none or empty.')
384
bucket, key = self._parse_output_location(self.output_location)
0 commit comments