riptable.rt_io
Functions
|
Allows jupyter lab/notebook to print multiple HTML renderings in the same output frame. |
|
Read columns stored as numpy follows to a Dataset. |
|
Write the columns of a dataset to numpy binary files, one file per column in the specified directory. |
- riptable.rt_io.printh(data)
Allows jupyter lab/notebook to print multiple HTML renderings in the same output frame.
Suppose you have three datasets: d1, d2, d3 In one jupyter cell you could write: printh(d1) printh(d2) printh(d3) And all three would be displayed, versus the default, where only the last is shown. Will also work for anything else with a _repr_html_ method.
You can also input a list of elements with _repr_html_ methods so that they display side by side. If the jupyter frame isn’t wide enough, they’ll just display below.
- riptable.rt_io.read_dset_from_np(outdir, fname, mmap=False)
Read columns stored as numpy follows to a Dataset.
- Parameters:
the (outdir is the path and fname is the name of) –
dataset (subdirectory containing the columns of the) –
will (set mmap = True for memmory mapping. Note this) –
loading (allow quick) –
elsewhere (but has some latency cost) –
- Returns:
The dataset read in from the specified folder.
- Return type:
See also
- riptable.rt_io.write_dset_to_np(ds, outdir, fname)
Write the columns of a dataset to numpy binary files, one file per column in the specified directory.
- Parameters:
See also