Getting started — datatable documentation
datatable from PyPI:
$ pip install datatable
If this didn’t work for you, or if you want to install the bleeding edge
version of the library, please check the Installation page.
Assuming the installa...
datatable API — datatable documentation
(CC BY 4.0),
and code samples are licensed under the MIT License.
User Guide — datatable documentation
(CC BY 4.0),
and code samples are licensed under the MIT License.
Table of contents
Using datatable — datatable documentation
Delete Rows or Columns¶
Delete rows or columns with
del:
del DT[:, "D"] # delete column D
del DT[f.A < 0, :] # delete rows where column A has negative values
Filter rows via an f-expression:
fro...
Row Functions — datatable documentation
i section.
Filter for rows where at least one cell is greater than 0:
df = dt.Frame({'a': [0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0],
'b': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
'c': ...