riptable.rt_imatrix

Classes

IMatrix

Experimental class designed to take a Dataset and make a 2d matrix efficiently.

class riptable.rt_imatrix.IMatrix(ds, dtype=None, order='F', colnames=None)

Experimental class designed to take a Dataset and make a 2d matrix efficiently. It uses rt.vstack order=’F’ which uses rt.hstack plus np.reshape.

The matrix is shaped so that it can be inserted back into the Dataset.

Parameters:
  • dtype

  • order

  • colnames

See also

rt.vstack

property dataset
property imatrix
__getitem__(fld)

row slicing

apply2d(func, name=None, showfilter=True)
Parameters:

func (function or method name of function) –

Return type:

X and Y axis calculations

rebuild(ds=None, dtype=None, order='F', colnames=None)