MCPcopy
hub / github.com/catherinedevlin/ipython-sql / _get_y

Method _get_y

src/sql/column_guesser.py:42–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self.ys = []
41
42 def _get_y(self):
43 for idx in range(len(self.columns)-1,-1,-1):
44 if self.columns[idx].is_quantity:
45 self.ys.insert(0, self.columns.pop(idx))
46 return True
47
48 def _get_x(self):
49 for idx in range(len(self.columns)):

Callers 2

_guess_columnsMethod · 0.95
guess_plot_columnsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected