Returns a Pandas DataFrame instance built from the result set.
(self)
| 144 | return dict(zip(self.keys, zip(*self))) |
| 145 | |
| 146 | def DataFrame(self): |
| 147 | "Returns a Pandas DataFrame instance built from the result set." |
| 148 | import pandas as pd |
| 149 | frame = pd.DataFrame(self, columns=(self and self.keys) or []) |
| 150 | return frame |
| 151 | def pie(self, key_word_sep=" ", title=None, **kwargs): |
| 152 | """Generates a pylab pie chart from the result set. |
| 153 |