MCPcopy Index your code
hub / github.com/clips/pattern / flip

Function flip

pattern/db/__init__.py:1890–1893  ·  view source on GitHub ↗

Returns a new datasheet with rows for columns and columns for rows.

(datasheet)

Source from the content-addressed store, hash-verified

1888 return numpy.array(self)
1889
1890def flip(datasheet):
1891 """ Returns a new datasheet with rows for columns and columns for rows.
1892 """
1893 return Datasheet(rows=datasheet.columns)
1894
1895#--- DATASHEET ROWS --------------------------------------------------------------------------------
1896# Datasheet.rows mimics the operations on Datasheet:

Callers

nothing calls this directly

Calls 1

DatasheetClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…