def get_all(self): all_df = table_to_frame(self.table) return all_df
def _getitem_framekey(self, key): where = "{0} == {1}".format(self.frame_key, key) df = table_to_frame(self.table, where=where) del df[self.frame_key] return df
def _getitem_query(self, query): where = str(query) df = table_to_frame(self.table, where=where) return df # return in a form that's more useful. considering outputting panel return df.pivot(df.index, self.frame_key).stack().to_panel()
def get_data(self, name): table = self.get_table(name) df = table_to_frame(table) return df