MCPcopy
hub / github.com/dmlc/dgl / clear

Method clear

python/dgl/frame.py:860–863  ·  view source on GitHub ↗

Clear this frame. Remove all the columns.

(self)

Source from the content-addressed store, hash-verified

858 self._num_rows += other.num_rows
859
860 def clear(self):
861 """Clear this frame. Remove all the columns."""
862 self._columns = {}
863 self._num_rows = 0
864
865 def __iter__(self):
866 """Return an iterator of columns."""

Callers 5

resetMethod · 0.45
_testFunction · 0.45
_testFunction · 0.45
test_level2Function · 0.45
test_update_routinesFunction · 0.45

Calls

no outgoing calls

Tested by 4

_testFunction · 0.36
_testFunction · 0.36
test_level2Function · 0.36
test_update_routinesFunction · 0.36