index
int64
0
731k
package
stringlengths
2
98
name
stringlengths
1
76
docstring
stringlengths
0
281k
code
stringlengths
4
8.19k
signature
stringlengths
2
42.8k
embed_func_code
listlengths
768
768
728,418
tables.file
_iswritable
Is this file writable?
def _iswritable(self): """Is this file writable?""" return self.mode in ('w', 'a', 'r+')
(self)
[ 0.008607663214206696, 0.011868528090417385, -0.005210573319345713, 0.028487874194979668, 0.08752401173114777, -0.022511038929224014, 0.016270270571112633, 0.04182081297039986, -0.04379606246948242, -0.001791134593077004, 0.039368778467178345, -0.00432085944339633, 0.0581677071750164, 0.032...
728,419
tables.file
_log
Log an action. The `action` must be an all-uppercase string identifying it. Arguments must also be strings. This method should be called once the action has been completed. This method can only be called when the Undo/Redo mechanism has been enabled. Otherwise, an `UndoRedoEr...
def _log(self, action, *args): """Log an action. The `action` must be an all-uppercase string identifying it. Arguments must also be strings. This method should be called once the action has been completed. This method can only be called when the Undo/Redo mechanism has been enabled. Otherwise,...
(self, action, *args)
[ -0.0640411302447319, 0.035867560654878616, -0.008000426925718784, 0.0890088751912117, -0.00003292750989203341, -0.05917581915855408, -0.07173512130975723, 0.07086766511201859, 0.03645215183496475, -0.06422971189022064, 0.039676837623119354, 0.04288266599178314, 0.04567362368106842, 0.02830...
728,420
tables.file
_shadow_name
Compute and return a shadow name. Computes the current shadow name according to the current transaction, mark and action. It returns a tuple with the shadow parent node and the name of the shadow in it.
def _shadow_name(self): """Compute and return a shadow name. Computes the current shadow name according to the current transaction, mark and action. It returns a tuple with the shadow parent node and the name of the shadow in it. """ parent = self.get_node( _shadow_parent % (self._curtr...
(self)
[ 0.018353117629885674, -0.014769216068089008, 0.06566062569618225, 0.05436912178993225, -0.0025087313260883093, -0.03868844360113144, -0.018724782392382622, 0.05341341346502304, 0.043608564883470535, -0.05044010281562805, 0.03309578821063042, 0.039431773126125336, 0.020565403625369072, -0.0...
728,421
tables.file
_update_node_locations
Update location information of nodes under `oldpath`. This only affects *already loaded* nodes.
def _update_node_locations(self, oldpath, newpath): """Update location information of nodes under `oldpath`. This only affects *already loaded* nodes. """ oldprefix = oldpath + '/' # root node can not be renamed, anyway oldprefix_len = len(oldprefix) # Update alive and dead descendents. for...
(self, oldpath, newpath)
[ 0.028368012979626656, -0.02603929489850998, -0.0061481669545173645, -0.008335749618709087, -0.06502766907215118, 0.039764612913131714, 0.00023899124062154442, 0.05768868327140808, 0.024839652702212334, -0.00945600401610136, -0.022828487679362297, -0.04110538959503174, 0.03334299847483635, ...
728,422
tables.file
close
Flush all the alive leaves in object tree and close the file.
def close(self): """Flush all the alive leaves in object tree and close the file.""" # If the file is already closed, return immediately if not self.isopen: return # If this file has been opened more than once, decrease the # counter and return if self._open_count > 1: self._open...
(self)
[ 0.007703605107963085, -0.009219142608344555, -0.0009770041797310114, 0.04540315270423889, -0.015614078380167484, -0.04245302453637123, -0.07893384248018265, 0.05414559692144394, -0.03738024830818176, -0.025453826412558556, -0.014840570278465748, -0.0767032653093338, 0.03221752867102623, 0....
728,423
tables.file
copy_children
Copy the children of a group into another group. Parameters ---------- srcgroup : str The group to copy from. dstgroup : str The destination group. overwrite : bool, optional If True, the destination group will be overwritten if it already ...
def copy_children(self, srcgroup, dstgroup, overwrite=False, recursive=False, createparents=False, **kwargs): """Copy the children of a group into another group. Parameters ---------- srcgroup : str The group to copy from. dstgroup : str The destin...
(self, srcgroup, dstgroup, overwrite=False, recursive=False, createparents=False, **kwargs)
[ -0.05949746072292328, 0.004142506048083305, -0.04811105877161026, -0.00035857059992849827, -0.03718151897192001, 0.02978387288749218, 0.013749781996011734, 0.07569848001003265, 0.03389563038945198, 0.02423124574124813, 0.04881392419338226, 0.0024732036981731653, 0.04930592700839043, 0.0361...
728,424
tables.file
copy_file
Copy the contents of this file to dstfilename. Parameters ---------- dstfilename : str A path string indicating the name of the destination file. If it already exists, the copy will fail with an IOError, unless the overwrite argument is true. overwrit...
def copy_file(self, dstfilename, overwrite=False, **kwargs): """Copy the contents of this file to dstfilename. Parameters ---------- dstfilename : str A path string indicating the name of the destination file. If it already exists, the copy will fail with an IOError, unless the o...
(self, dstfilename, overwrite=False, **kwargs)
[ -0.019785413518548012, -0.06416472792625427, -0.008257628418505192, -0.005350285675376654, -0.010449021123349667, -0.024729348719120026, -0.019504837691783905, 0.06002381816506386, 0.010265195742249489, -0.03024411015212536, 0.0018733255565166473, -0.0022433949634432793, 0.007725502829998732...
728,425
tables.file
copy_node
Copy the node specified by where and name to newparent/newname. Parameters ---------- where : str These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. newparent : str or Group The destination group that ...
def copy_node(self, where, newparent=None, newname=None, name=None, overwrite=False, recursive=False, createparents=False, **kwargs): """Copy the node specified by where and name to newparent/newname. Parameters ---------- where : str These arguments work as in ...
(self, where, newparent=None, newname=None, name=None, overwrite=False, recursive=False, createparents=False, **kwargs)
[ -0.023059045895934105, -0.006222796160727739, 0.023725276812911034, 0.0007928860140964389, -0.05400184169411659, 0.006759483367204666, 0.01771993190050125, 0.08283489942550659, 0.049560289829969406, -0.004510948900133371, -0.007175878621637821, -0.026834361255168915, 0.0342184379696846, 0....
728,426
tables.file
copy_node_attrs
Copy PyTables attributes from one node to another. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. dstnode The destination node where the attributes will be copied to. It can ...
def copy_node_attrs(self, where, dstnode, name=None): """Copy PyTables attributes from one node to another. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. dstnode The destination node where the attrib...
(self, where, dstnode, name=None)
[ 0.011026434600353241, 0.006402445957064629, 0.03137024864554405, -0.01659604161977768, -0.08397788554430008, -0.011312723159790039, 0.0366101935505867, 0.05677182599902153, 0.04875575378537178, 0.008215605281293392, -0.012839593924582005, -0.005244280211627483, 0.04875575378537178, 0.08252...
728,427
tables.file
create_array
Create a new array. Parameters ---------- where : str or Group The parent group from which the new array will hang. It can be a path string (for example '/level1/leaf5'), or a Group instance (see :ref:`GroupClassDescr`). name : str The nam...
def create_array(self, where, name, obj=None, title="", byteorder=None, createparents=False, atom=None, shape=None, track_times=True): """Create a new array. Parameters ---------- where : str or Group The parent group from which the new array will hang. It can b...
(self, where, name, obj=None, title='', byteorder=None, createparents=False, atom=None, shape=None, track_times=True)
[ 0.01900193654000759, 0.030094340443611145, 0.003292461857199669, -0.005388964433223009, -0.023785773664712906, -0.03400145843625069, -0.06693560630083084, 0.015885772183537483, -0.058854542672634125, -0.04170134291052818, 0.008933959528803825, -0.02262316830456257, 0.06575394421815872, 0.0...
728,428
tables.file
create_carray
Create a new chunked array. Parameters ---------- where : str or Group The parent group from which the new array will hang. It can be a path string (for example '/level1/leaf5'), or a Group instance (see :ref:`GroupClassDescr`). name : str ...
def create_carray(self, where, name, atom=None, shape=None, title="", filters=None, chunkshape=None, byteorder=None, createparents=False, obj=None, track_times=True): """Create a new chunked array. Parameters ---------- where : str or Group T...
(self, where, name, atom=None, shape=None, title='', filters=None, chunkshape=None, byteorder=None, createparents=False, obj=None, track_times=True)
[ 0.0006581588531844318, 0.03434370830655098, -0.054506540298461914, -0.005241381004452705, -0.008366142399609089, -0.02367938496172428, -0.06299213320016861, 0.0092691695317626, -0.03243253752589226, -0.07843437790870667, 0.01903524249792099, -0.03329256549477577, 0.036465104669332504, 0.00...
728,429
tables.file
create_earray
Create a new enlargeable array. Parameters ---------- where : str or Group The parent group from which the new array will hang. It can be a path string (for example '/level1/leaf5'), or a Group instance (see :ref:`GroupClassDescr`). name : str ...
def create_earray(self, where, name, atom=None, shape=None, title="", filters=None, expectedrows=1000, chunkshape=None, byteorder=None, createparents=False, obj=None, track_times=True): """Create a new enlargeable array. Parameters ---------- where :...
(self, where, name, atom=None, shape=None, title='', filters=None, expectedrows=1000, chunkshape=None, byteorder=None, createparents=False, obj=None, track_times=True)
[ 0.05019938200712204, 0.005724409129470587, -0.031985778361558914, 0.005010607652366161, -0.017756398767232895, -0.029279863461852074, -0.050983164459466934, -0.018969394266605377, -0.08069223910570145, -0.05221482366323471, 0.025304967537522316, -0.06572573632001877, 0.03836800530552864, 0...
728,430
tables.file
create_external_link
Create an external link. Create an external link to a *target* node with the given *name* in *where* location. *target* can be a node object in another file or a path string in the form 'file:/path/to/node'. If *createparents* is true, the intermediate groups required for reac...
def create_external_link(self, where, name, target, createparents=False): """Create an external link. Create an external link to a *target* node with the given *name* in *where* location. *target* can be a node object in another file or a path string in the form 'file:/path/to/node'. If *createpar...
(self, where, name, target, createparents=False)
[ 0.0004840206238441169, 0.003152457531541586, -0.03829856216907501, 0.023269779980182648, -0.0328352227807045, 0.020804839208722115, -0.03484028950333595, 0.04352276772260666, -0.015497857704758644, -0.0074546076357364655, 0.04753289744257927, -0.03158435970544815, 0.1108119860291481, -0.02...
728,431
tables.file
create_group
Create a new group. Parameters ---------- where : str or Group The parent group from which the new group will hang. It can be a path string (for example '/level1/leaf5'), or a Group instance (see :ref:`GroupClassDescr`). name : str The nam...
def create_group(self, where, name, title="", filters=None, createparents=False): """Create a new group. Parameters ---------- where : str or Group The parent group from which the new group will hang. It can be a path string (for example '/level1/leaf5'), or a Group inst...
(self, where, name, title='', filters=None, createparents=False)
[ -0.02185126394033432, 0.05602520704269409, -0.0169526394456625, -0.05172659829258919, -0.003161268774420023, -0.057350609451532364, -0.03091416507959366, 0.04055021330714226, -0.009197232313454151, 0.010567414574325085, 0.01977360248565674, 0.030179819092154503, 0.06526722013950348, 0.0286...
728,432
tables.file
create_hard_link
Create a hard link. Create a hard link to a `target` node with the given `name` in `where` location. `target` can be a node object or a path string. If `createparents` is true, the intermediate groups required for reaching `where` are created (the default is not doing so). ...
def create_hard_link(self, where, name, target, createparents=False): """Create a hard link. Create a hard link to a `target` node with the given `name` in `where` location. `target` can be a node object or a path string. If `createparents` is true, the intermediate groups required for reaching `w...
(self, where, name, target, createparents=False)
[ 0.013194344006478786, 0.0368943065404892, -0.03294134512543678, 0.0009726600255817175, -0.057478196918964386, 0.01417368184775114, -0.048361457884311676, 0.05957932025194168, -0.009784470312297344, -0.037927061319351196, 0.03760655224323273, 0.0004671327769756317, 0.09081127494573593, -0.0...
728,433
tables.file
create_soft_link
Create a soft link (aka symbolic link) to a `target` node. Create a soft link (aka symbolic link) to a `target` nodewith the given `name` in `where` location. `target` can be a node object or a path string. If `createparents` is true, the intermediate groups required for reaching `whe...
def create_soft_link(self, where, name, target, createparents=False): """Create a soft link (aka symbolic link) to a `target` node. Create a soft link (aka symbolic link) to a `target` nodewith the given `name` in `where` location. `target` can be a node object or a path string. If `createparents` is ...
(self, where, name, target, createparents=False)
[ 0.0076243141666054726, 0.00759286480024457, -0.010737838223576546, -0.0047129676677286625, -0.030012033879756927, 0.013855854980647564, -0.04783954098820686, 0.05391383171081543, 0.024512821808457375, -0.005440804176032543, 0.02577081136405468, -0.002293584169819951, 0.08841868489980698, -...
728,434
tables.file
create_table
Create a new table with the given name in where location. Parameters ---------- where : str or Group The parent group from which the new table will hang. It can be a path string (for example '/level1/leaf5'), or a Group instance (see :ref:`GroupClassDescr`). ...
def create_table(self, where, name, description=None, title="", filters=None, expectedrows=10_000, chunkshape=None, byteorder=None, createparents=False, obj=None, track_times=True): """Create a new table with the given name in where location. Parameters ---...
(self, where, name, description=None, title='', filters=None, expectedrows=10000, chunkshape=None, byteorder=None, createparents=False, obj=None, track_times=True)
[ 0.018817609176039696, 0.0283870417624712, -0.043300945311784744, -0.046065665781497955, -0.04291154816746712, -0.02667369320988655, -0.050660550594329834, 0.06658688932657242, -0.09680408984422684, -0.06693734228610992, -0.010104851797223091, 0.025466563180088997, 0.02394791506230831, 0.03...
728,435
tables.file
create_vlarray
Create a new variable-length array. Parameters ---------- where : str or Group The parent group from which the new array will hang. It can be a path string (for example '/level1/leaf5'), or a Group instance (see :ref:`GroupClassDescr`). name : str ...
def create_vlarray(self, where, name, atom=None, title="", filters=None, expectedrows=None, chunkshape=None, byteorder=None, createparents=False, obj=None, track_times=True): """Create a new variable-length array. Parameters -------...
(self, where, name, atom=None, title='', filters=None, expectedrows=None, chunkshape=None, byteorder=None, createparents=False, obj=None, track_times=True)
[ 0.04071495309472084, 0.016032233834266663, -0.041099417954683304, 0.023183302953839302, -0.020876506343483925, -0.0186466034501791, -0.06828116625547409, -0.01507106889039278, -0.06216815859079361, -0.027008740231394768, -0.019578933715820312, -0.0589386448264122, 0.01761815696954727, -0.0...
728,436
tables.file
del_node_attr
Delete a PyTables attribute from the given node. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. attrname The name of the attribute to delete. If the named attribu...
def del_node_attr(self, where, attrname, name=None): """Delete a PyTables attribute from the given node. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. attrname The name of the attribute to delete. I...
(self, where, attrname, name=None)
[ 0.036353062838315964, 0.044723834842443466, 0.052855439484119415, 0.007350049447268248, -0.05094212293624878, -0.015955714508891106, -0.03819805011153221, 0.08685102313756943, -0.01234261691570282, 0.0026265429332852364, -0.022464416921138763, 0.006094433832913637, 0.06980197876691818, 0.0...
728,437
tables.file
disable_undo
Disable the Undo/Redo mechanism. Disabling the Undo/Redo mechanism leaves the database in the current state and forgets past and future database states. This makes :meth:`File.mark`, :meth:`File.undo`, :meth:`File.redo` and other methods fail with an UndoRedoError. Calling this...
def disable_undo(self): """Disable the Undo/Redo mechanism. Disabling the Undo/Redo mechanism leaves the database in the current state and forgets past and future database states. This makes :meth:`File.mark`, :meth:`File.undo`, :meth:`File.redo` and other methods fail with an UndoRedoError. Cal...
(self)
[ 0.00781705230474472, 0.021450819447636604, 0.03160984069108963, 0.0515323132276535, 0.02218802273273468, -0.030477065593004227, -0.09069399535655975, 0.02195427566766739, 0.021738508716225624, -0.002429624553769827, 0.014069795608520508, -0.003299434669315815, -0.004922180902212858, 0.0102...
728,438
tables.file
enable_undo
Enable the Undo/Redo mechanism. This operation prepares the database for undoing and redoing modifications in the node hierarchy. This allows :meth:`File.mark`, :meth:`File.undo`, :meth:`File.redo` and other methods to be called. The filters argument, when specified, mu...
def enable_undo(self, filters=Filters(complevel=1)): """Enable the Undo/Redo mechanism. This operation prepares the database for undoing and redoing modifications in the node hierarchy. This allows :meth:`File.mark`, :meth:`File.undo`, :meth:`File.redo` and other methods to be called. The filter...
(self, filters=Filters(complevel=1, complib='zlib', shuffle=True, bitshuffle=False, fletcher32=False, least_significant_digit=None))
[ -0.01928246207535267, 0.004057748708873987, 0.013450547121465206, 0.06909967213869095, 0.03848462551832199, -0.01928246207535267, -0.08030176907777786, 0.0681360512971878, 0.005064030643552542, -0.04392506927251816, 0.02868780866265297, -0.006464292760938406, 0.017857106402516365, 0.034770...
728,439
tables.file
flush
Flush all the alive leaves in the object tree.
def flush(self): """Flush all the alive leaves in the object tree.""" self._check_open() # Flush the cache to disk self._node_manager.flush_nodes() self._flush_file(0) # 0 means local scope, 1 global (virtual) scope
(self)
[ -0.0026121989358216524, 0.02347630076110363, -0.03670474514365196, 0.021048294380307198, -0.0012234216555953026, -0.02042873576283455, -0.09939751774072647, 0.025050317868590355, -0.010582754388451576, -0.019172869622707367, -0.04413946345448494, -0.10267951339483261, 0.014777343720197678, ...
728,440
tables.file
get_current_mark
Get the identifier of the current mark. Returns the identifier of the current mark. This can be used to know the state of a database after an application crash, or to get the identifier of the initial implicit mark after a call to :meth:`File.enable_undo`. This method can only ...
def get_current_mark(self): """Get the identifier of the current mark. Returns the identifier of the current mark. This can be used to know the state of a database after an application crash, or to get the identifier of the initial implicit mark after a call to :meth:`File.enable_undo`. This met...
(self)
[ 0.0421752892434597, -0.005065252538770437, 0.029995067045092583, 0.11269237846136093, 0.04234399273991585, -0.013428612612187862, 0.02029475010931492, 0.033402830362319946, 0.043693602085113525, -0.06916747987270355, -0.010535387322306633, -0.04335619881749153, -0.030534910038113594, -0.00...
728,441
tables.file
get_node
Get the node under where with the given name. Parameters ---------- where : str or Node This can be a path string leading to a node or a Node instance (see :ref:`NodeClassDescr`). If no name is specified, that node is returned. .. note:: ...
def get_node(self, where, name=None, classname=None): """Get the node under where with the given name. Parameters ---------- where : str or Node This can be a path string leading to a node or a Node instance (see :ref:`NodeClassDescr`). If no name is specified, that node is retur...
(self, where, name=None, classname=None)
[ 0.05098069831728935, -0.023337263613939285, 0.019578486680984497, 0.012051807716488838, -0.012973255477845669, -0.009770996868610382, -0.009451682679355145, 0.06138119846582413, 0.03536170348525047, -0.02753395587205887, 0.013465911149978638, 0.00931027252227068, 0.0471489354968071, 0.0286...
728,442
tables.file
get_node_attr
Get a PyTables attribute from the given node. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. attrname The name of the attribute to retrieve. If the named attribut...
def get_node_attr(self, where, attrname, name=None): """Get a PyTables attribute from the given node. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. attrname The name of the attribute to retrieve. If...
(self, where, attrname, name=None)
[ 0.037763942033052444, 0.016193082556128502, 0.06968915462493896, 0.020555056631565094, 0.006837458815425634, -0.0011833242606371641, 0.01886489801108837, 0.0316520556807518, 0.0014170013600960374, -0.02752055786550045, -0.0037900519091635942, 0.0035510396119207144, 0.06432844698429108, 0.0...
728,443
tables.file
goto
Go to a specific mark of the database. Returns the database to the state associated with the specified mark. Both the identifier of a mark and its name can be used. This method can only be called when the Undo/Redo mechanism has been enabled. Otherwise, an UndoRedoError is raised. ...
def goto(self, mark): """Go to a specific mark of the database. Returns the database to the state associated with the specified mark. Both the identifier of a mark and its name can be used. This method can only be called when the Undo/Redo mechanism has been enabled. Otherwise, an UndoRedoError is r...
(self, mark)
[ -0.006243368145078421, 0.01303038839250803, -0.03532874956727028, 0.07573158293962479, -0.0188293419778347, -0.032342977821826935, -0.00784412119537592, 0.042353078722953796, 0.013953734189271927, -0.08277317136526108, -0.036485087126493454, 0.023471958935260773, 0.01209841389209032, 0.046...
728,444
tables.file
is_undo_enabled
Is the Undo/Redo mechanism enabled? Returns True if the Undo/Redo mechanism has been enabled for this file, False otherwise. Please note that this mechanism is persistent, so a newly opened PyTables file may already have Undo/Redo support enabled.
def is_undo_enabled(self): """Is the Undo/Redo mechanism enabled? Returns True if the Undo/Redo mechanism has been enabled for this file, False otherwise. Please note that this mechanism is persistent, so a newly opened PyTables file may already have Undo/Redo support enabled. """ self._chec...
(self)
[ 0.003533212933689356, -0.0027667938265949488, 0.028043676167726517, 0.020187348127365112, 0.07514748722314835, 0.0061868587508797646, -0.033030737191438675, 0.0372663214802742, -0.03996480256319046, 0.004863237962126732, 0.016797171905636787, -0.023961801081895828, -0.025772172957658768, 0...
728,445
tables.file
is_visible_node
Is the node under `path` visible? If the node does not exist, a NoSuchNodeError is raised.
def is_visible_node(self, path): """Is the node under `path` visible? If the node does not exist, a NoSuchNodeError is raised. """ # ``util.isvisiblepath()`` is still recommended for internal use. return self.get_node(path)._f_isvisible()
(self, path)
[ 0.03998368978500366, -0.04609370604157448, -0.019001483917236328, 0.015468081459403038, 0.04414656013250351, 0.0400172621011734, 0.02786436676979065, 0.009349670261144638, -0.02266078069806099, 0.06482662260532379, 0.022375423461198807, -0.02712579444050789, 0.0534122996032238, -0.01972327...
728,446
tables.file
iter_nodes
Iterate over children nodes hanging from where. Parameters ---------- where This argument works as in :meth:`File.get_node`, referencing the node to be acted upon. classname If the name of a class derived from Node (see :ref:`NodeClassDesc...
def iter_nodes(self, where, classname=None): """Iterate over children nodes hanging from where. Parameters ---------- where This argument works as in :meth:`File.get_node`, referencing the node to be acted upon. classname If the name of a class derived from Node (see ...
(self, where, classname=None)
[ 0.0018026966135948896, -0.02135942317545414, -0.052931927144527435, -0.03315729275345802, -0.024652261286973953, 0.058038465678691864, -0.021183336153626442, 0.038809701800346375, 0.06229978799819946, 0.018753327429294586, 0.008998075500130653, -0.033122073858976364, 0.04609972983598709, 0...
728,447
tables.file
list_nodes
Return a *list* with children nodes hanging from where. This is a list-returning version of :meth:`File.iter_nodes`.
def list_nodes(self, where, classname=None): """Return a *list* with children nodes hanging from where. This is a list-returning version of :meth:`File.iter_nodes`. """ group = self.get_node(where) # Does the parent exist? self._check_group(group) # Is it a group? return group._f_list_nodes(cl...
(self, where, classname=None)
[ 0.00220856792293489, -0.012505093589425087, -0.03396594896912575, -0.03424365073442459, -0.008829932659864426, 0.08143497258424759, -0.00012881503789685667, 0.02653752639889717, 0.0433209054172039, 0.012774113565683365, 0.01710446923971176, -0.04037036374211311, 0.05012451112270355, 0.0016...
728,448
tables.file
mark
Mark the state of the database. Creates a mark for the current state of the database. A unique (and immutable) identifier for the mark is returned. An optional name (a string) can be assigned to the mark. Both the identifier of a mark and its name can be used in :meth:`File.undo` and :m...
def mark(self, name=None): """Mark the state of the database. Creates a mark for the current state of the database. A unique (and immutable) identifier for the mark is returned. An optional name (a string) can be assigned to the mark. Both the identifier of a mark and its name can be used in :meth:`...
(self, name=None)
[ 0.0005997292464599013, 0.005384873598814011, -0.01641945168375969, 0.09025401622056961, 0.017920153215527534, -0.03557547554373741, -0.05734448879957199, 0.07761280238628387, 0.04435017332434654, -0.06783175468444824, -0.02611222304403782, 0.011776100844144821, 0.019014783203601837, 0.0473...
728,449
tables.file
move_node
Move the node specified by where and name to newparent/newname. Parameters ---------- where, name : path These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. newparent The destination group the node will be moved in...
def move_node(self, where, newparent=None, newname=None, name=None, overwrite=False, createparents=False): """Move the node specified by where and name to newparent/newname. Parameters ---------- where, name : path These arguments work as in :meth:`File.get_node`, referenci...
(self, where, newparent=None, newname=None, name=None, overwrite=False, createparents=False)
[ -0.02752884104847908, 0.01483219489455223, -0.03312792629003525, -0.030454004183411598, -0.03224858269095421, -0.025016430765390396, -0.004091640003025532, 0.1258358657360077, 0.022809097543358803, -0.005473465658724308, -0.021068356931209564, -0.008080091327428818, 0.070634625852108, 0.04...
728,450
tables.file
redo
Go to a future state of the database. Returns the database to the state associated with the specified mark. Both the identifier of a mark and its name can be used. If the `mark` is omitted, the next created mark is used. If there are no future marks, or the specified mark is not newer...
def redo(self, mark=None): """Go to a future state of the database. Returns the database to the state associated with the specified mark. Both the identifier of a mark and its name can be used. If the `mark` is omitted, the next created mark is used. If there are no future marks, or the specified ...
(self, mark=None)
[ -0.02643844671547413, 0.03858775272965431, -0.0341666080057621, 0.08078315854072571, 0.026615293696522713, -0.04134654998779297, -0.04619212448596954, 0.05842985212802887, 0.05082548409700394, -0.07583148032426834, 0.009620411321520805, 0.03897681459784508, 0.01970062218606472, 0.060764215...
728,451
tables.file
remove_node
Remove the object node *name* under *where* location. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. recursive : bool If not supplied or false, the node will be removed ...
def remove_node(self, where, name=None, recursive=False): """Remove the object node *name* under *where* location. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. recursive : bool If not supplied or fa...
(self, where, name=None, recursive=False)
[ 0.021374467760324478, -0.005519309546798468, 0.01669505424797535, -0.04076061397790909, -0.05587872117757797, -0.027425140142440796, -0.062186505645513535, 0.08885744959115982, 0.0062563600949943066, 0.01588943973183632, -0.007361935917288065, 0.025831053033471107, 0.0667802169919014, 0.01...
728,452
tables.file
rename_node
Change the name of the node specified by where and name to newname. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. newname : str The new name to be assigned to the node (a str...
def rename_node(self, where, newname, name=None, overwrite=False): """Change the name of the node specified by where and name to newname. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. newname : str T...
(self, where, newname, name=None, overwrite=False)
[ -0.006956066470593214, -0.017906704917550087, -0.0033101579174399376, 0.0013010341208428144, -0.056784920394420624, -0.010993684642016888, -0.0017583868466317654, 0.11584261059761047, 0.05485650524497032, 0.003484490094706416, -0.007511346600949764, -0.009263277053833008, 0.06257016211748123...
728,453
tables.file
set_node_attr
Set a PyTables attribute for the given node. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. attrname The name of the attribute to set. attrvalue The value ...
def set_node_attr(self, where, attrname, attrvalue, name=None): """Set a PyTables attribute for the given node. Parameters ---------- where, name These arguments work as in :meth:`File.get_node`, referencing the node to be acted upon. attrname The name of the attribute to set...
(self, where, attrname, attrvalue, name=None)
[ 0.03825501352548599, 0.024219002574682236, 0.049573272466659546, 0.025784293189644814, -0.041488803923130035, 0.014001610688865185, -0.01936832256615162, 0.05738252401351929, -0.022498903796076775, -0.008944517932832241, -0.024838238954544067, 0.010028180666267872, 0.0881379023194313, 0.06...
728,454
tables.file
undo
Go to a past state of the database. Returns the database to the state associated with the specified mark. Both the identifier of a mark and its name can be used. If the mark is omitted, the last created mark is used. If there are no past marks, or the specified mark is not older than th...
def undo(self, mark=None): """Go to a past state of the database. Returns the database to the state associated with the specified mark. Both the identifier of a mark and its name can be used. If the mark is omitted, the last created mark is used. If there are no past marks, or the specified mark is ...
(self, mark=None)
[ -0.036847617477178574, 0.019780054688453674, -0.01911073923110962, 0.0542498379945755, 0.016759324818849564, -0.05315779522061348, -0.02603287622332573, 0.052946433424949646, 0.053122568875551224, -0.06467708200216293, -0.013632914051413536, 0.012523258104920387, -0.01123746670782566, 0.03...
728,455
tables.file
walk_groups
Recursively iterate over groups (not leaves) hanging from where. The where group itself is listed first (preorder), then each of its child groups (following an alphanumerical order) is also traversed, following the same procedure. If where is not supplied, the root group is used. ...
def walk_groups(self, where="/"): """Recursively iterate over groups (not leaves) hanging from where. The where group itself is listed first (preorder), then each of its child groups (following an alphanumerical order) is also traversed, following the same procedure. If where is not supplied, the root ...
(self, where='/')
[ 0.02414950169622898, 0.013305970467627048, -0.044218387454748154, 0.0017852690070867538, 0.0047577861696481705, 0.0024052762892097235, 0.013393915258347988, 0.05653058737516403, 0.07746133208274841, 0.005083180032670498, 0.010949064046144485, -0.05385708063840866, 0.05973175913095474, 0.02...
728,456
tables.file
walk_nodes
Recursively iterate over nodes hanging from where. Parameters ---------- where : str or Group, optional If supplied, the iteration starts from (and includes) this group. It can be a path string or a Group instance (see :ref:`GroupClassDescr`). classna...
def walk_nodes(self, where="/", classname=None): """Recursively iterate over nodes hanging from where. Parameters ---------- where : str or Group, optional If supplied, the iteration starts from (and includes) this group. It can be a path string or a Group instance (see :ref:`Gro...
(self, where='/', classname=None)
[ 0.010067674331367016, -0.027964739128947258, -0.03997594490647316, -0.019582686945796013, -0.016137754544615746, 0.03853902220726013, -0.02031956985592842, 0.02475929446518421, 0.03806004673242569, 0.01800759695470333, -0.00033073415397666395, -0.04450777918100357, 0.04605523496866226, 0.0...
728,457
tables.exceptions
FileModeError
The operation can not be carried out because the mode in which the hosting file is opened is not adequate. For instance, removing an existing leaf from a read-only file is not allowed.
class FileModeError(ValueError): """The operation can not be carried out because the mode in which the hosting file is opened is not adequate. For instance, removing an existing leaf from a read-only file is not allowed. """ pass
null
[ 0.00425633555278182, -0.013174899853765965, 0.015073505230247974, 0.03676551207900047, 0.028177428990602493, -0.040527235716581345, 0.027041815221309662, 0.014470210298895836, -0.013272492215037346, -0.0702306479215622, 0.054083630442619324, -0.011897333897650242, 0.035239528864622116, -0....
728,458
tables.filters
Filters
Container for filter properties. This class is meant to serve as a container that keeps information about the filter properties associated with the chunked leaves, that is Table, CArray, EArray and VLArray. Instances of this class can be directly compared for equality. Parameters ---------- ...
class Filters: """Container for filter properties. This class is meant to serve as a container that keeps information about the filter properties associated with the chunked leaves, that is Table, CArray, EArray and VLArray. Instances of this class can be directly compared for equality. Param...
(complevel=0, complib='zlib', shuffle=True, bitshuffle=False, fletcher32=False, least_significant_digit=None, _new=True)
[ 0.01941322349011898, -0.060491807758808136, -0.06717688590288162, 0.005854539107531309, 0.008718116208910942, -0.04956740885972977, -0.05286918580532074, -0.02022847719490528, -0.036441829055547714, -0.03992703929543495, -0.006939845159649849, 0.014246554113924503, -0.011321832425892353, 0...
728,459
tables.filters
__eq__
null
def __eq__(self, other): if not isinstance(other, self.__class__): return False for attr in self.__dict__: if getattr(self, attr) != getattr(other, attr): return False return True
(self, other)
[ 0.0637369155883789, -0.01192801259458065, 0.006371879018843174, 0.012743758037686348, -0.03995340317487717, -0.05380294844508171, -0.03716174140572548, 0.02688334695994854, 0.046733155846595764, 0.03163279965519905, -0.012934098951518536, -0.045971792191267014, 0.07976178824901581, 0.08019...
728,460
tables.filters
__init__
null
def __init__(self, complevel=0, complib=default_complib, shuffle=True, bitshuffle=False, fletcher32=False, least_significant_digit=None, _new=True): if not (0 <= complevel <= 9): raise ValueError("compression level must be between 0 and 9") if _new and complevel > 0: # ...
(self, complevel=0, complib='zlib', shuffle=True, bitshuffle=False, fletcher32=False, least_significant_digit=None, _new=True)
[ -0.002469496103003621, -0.05329339578747749, -0.029681673273444176, 0.031151439994573593, 0.0288036298006773, -0.04756702855229378, -0.05478225275874138, 0.02116847224533558, -0.02374533750116825, -0.012951134704053402, 0.01613881252706051, 0.06299004703760147, -0.0321630984544754, 0.02239...
728,461
tables.filters
__repr__
null
def __repr__(self): args = [] if self.complevel >= 0: # meaningful compression level args.append(f'complevel={self.complevel}') if self.complevel != 0: # compression enabled (-1 or > 0) args.append(f'complib={self.complib!r}') args.append(f'shuffle={self.shuffle}') args.append(f'bi...
(self)
[ 0.017838705331087112, -0.04613920673727989, 0.06392043083906174, 0.010825851932168007, 0.08147172629833221, -0.06422699987888336, -0.011659347452223301, -0.04579431191086769, 0.006222469732165337, -0.03669293224811554, 0.00198793294839561, 0.057214148342609406, -0.03868565708398819, 0.0430...
728,463
tables.filters
_pack
Pack the `Filters` object into a 64-bit NumPy integer.
def _pack(self): """Pack the `Filters` object into a 64-bit NumPy integer.""" packed = np.int64(0) # Byte 3: least significant digit. if self.least_significant_digit is not None: # assert isinstance(self.least_significant_digit, np.int8) packed |= self.least_significant_digit packed ...
(self)
[ 0.003407693700864911, -0.03875601664185524, -0.005785044748336077, 0.01016163919121027, 0.04805746302008629, -0.029983924701809883, -0.04155401140451431, -0.01931183971464634, -0.044314198195934296, -0.03157197684049606, 0.006782303098589182, 0.014122314751148224, -0.03130729869008064, 0.0...
728,464
tables.filters
copy
Get a copy of the filters, possibly overriding some arguments. Constructor arguments to be overridden must be passed as keyword arguments. Using this method is recommended over replacing the attributes of an instance, since instances of this class may become immutable in the fu...
def copy(self, **override): """Get a copy of the filters, possibly overriding some arguments. Constructor arguments to be overridden must be passed as keyword arguments. Using this method is recommended over replacing the attributes of an instance, since instances of this class may become immutable ...
(self, **override)
[ -0.034484051167964935, -0.0656028762459755, 0.001125481678172946, -0.0029800154734402895, -0.08258022367954254, -0.0405338816344738, -0.03312283754348755, 0.0014321089256554842, 0.05565846711397171, 0.004764243494719267, -0.03524027764797211, -0.006215258501470089, -0.06666160374879837, 0....
728,465
tables.exceptions
FiltersWarning
Unavailable filters. This warning is issued when a valid filter is specified but it is not available in the system. It may mean that an available default filter is to be used instead.
class FiltersWarning(Warning): """Unavailable filters. This warning is issued when a valid filter is specified but it is not available in the system. It may mean that an available default filter is to be used instead. """ pass
null
[ -0.019466493278741837, -0.03426843881607056, -0.00010439191100886092, -0.025006698444485664, 0.0035299859009683132, -0.022160818800330162, 0.033712733536958694, -0.015408167615532875, 0.051124803721904755, -0.009707987308502197, -0.022026101127266884, -0.0013408473460003734, 0.00577174779027...
728,466
tables.exceptions
FlavorError
Unsupported or unavailable flavor or flavor conversion. This exception is raised when an unsupported or unavailable flavor is given to a dataset, or when a conversion of data between two given flavors is not supported nor available.
class FlavorError(ValueError): """Unsupported or unavailable flavor or flavor conversion. This exception is raised when an unsupported or unavailable flavor is given to a dataset, or when a conversion of data between two given flavors is not supported nor available. """ pass
null
[ 0.02278023585677147, -0.0691947489976883, -0.010780088603496552, 0.034179069101810455, 0.019921813160181046, -0.055216364562511444, 0.03191324695944786, 0.00016353686805814505, 0.06250185519456863, -0.016889095306396484, 0.027486175298690796, 0.06473281979560852, 0.005590482614934444, -0.0...
728,467
tables.exceptions
FlavorWarning
Unsupported or unavailable flavor conversion. This warning is issued when a conversion of data between two given flavors is not supported nor available, and raising an error would render the data inaccessible (e.g. on a dataset of an unavailable flavor in a read-only file). See the `FlavorError` c...
class FlavorWarning(Warning): """Unsupported or unavailable flavor conversion. This warning is issued when a conversion of data between two given flavors is not supported nor available, and raising an error would render the data inaccessible (e.g. on a dataset of an unavailable flavor in a read-onl...
null
[ 0.023781953379511833, -0.05437379330396652, -0.014076108112931252, -0.025993410497903824, 0.0547599196434021, -0.06420249491930008, 0.08901997655630112, 0.018481474369764328, 0.03231186419725418, -0.02737995982170105, -0.01391814649105072, 0.040016867220401764, 0.028011806309223175, -0.035...
728,468
tables.atom
Float128Atom
Defines an atom of type ``float128``.
from tables.atom import Float128Atom
(shape=(), dflt=0.0)
[ 0.03517594933509827, 0.024558400735259056, 0.06605716049671173, 0.03500552102923393, 0.052593495696783066, -0.006812783423811197, -0.07335139811038971, -0.03186967968940735, 0.004134963266551495, 0.023109780624508858, 0.036777954548597336, 0.010762408375740051, -0.017409026622772217, 0.045...
728,470
tables.atom
__init__
null
def _create_numeric_class(baseclass, itemsize): """Create a numeric atom class with the given `baseclass` and an `itemsize`.""" prefix = '%s%d' % (baseclass.prefix(), itemsize * 8) type_ = prefix.lower() classdict = {'itemsize': itemsize, 'type': type_, '__doc__': "Defines an atom ...
(self, shape=(), dflt=0.0)
[ 0.029741927981376648, 0.01549284067004919, -0.020008206367492676, -0.010220407508313656, 0.030571095645427704, -0.014167972840368748, -0.05522985756397247, 0.0015254003228619695, -0.03886278346180916, -0.02195494994521141, 0.019485468044877052, 0.03176077455282211, 0.016547327861189842, 0....
728,476
tables.description
Float128Col
Defines a non-nested column of a particular type. The constructor accepts the same arguments as the equivalent `Atom` class, plus an additional ``pos`` argument for position information, which is assigned to the `_v_pos` attribute and an ``attrs`` argument for storing ad...
from tables.description import Float128Col
(*args, **kwargs)
[ 0.02678968384861946, -0.011151120997965336, 0.06855999678373337, 0.05378180742263794, 0.03893613815307617, -0.0023238530848175287, -0.03242428973317146, -0.03012995794415474, -0.0005751642165705562, 0.007705407682806253, 0.009050796739757061, 0.016844771802425385, -0.018742656335234642, 0....
728,484
tables.atom
Float16Atom
Defines an atom of type ``float16``.
from tables.atom import Float16Atom
(shape=(), dflt=0.0)
[ 0.039470184594392776, 0.021034803241491318, 0.03379249572753906, 0.01286030188202858, 0.04169337451457977, -0.013304940424859524, -0.04696062579751015, 0.009046675637364388, -0.05253570154309273, 0.034168727695941925, 0.04494265094399452, 0.0033347858116030693, -0.0010431894334033132, 0.03...
728,492
tables.description
Float16Col
Defines a non-nested column of a particular type. The constructor accepts the same arguments as the equivalent `Atom` class, plus an additional ``pos`` argument for position information, which is assigned to the `_v_pos` attribute and an ``attrs`` argument for storing ad...
from tables.description import Float16Col
(*args, **kwargs)
[ 0.02743753232061863, -0.018071509897708893, 0.04061432182788849, 0.034330788999795914, 0.02178065851330757, -0.011457710526883602, -0.003918739967048168, 0.00537318317219615, -0.0582624152302742, 0.017114583402872086, 0.01696215383708477, 0.0067492942325770855, -0.0022589387372136116, 0.01...
728,500
tables.atom
Float32Atom
Defines an atom of type ``float32``.
from tables.atom import Float32Atom
(shape=(), dflt=0.0)
[ 0.026903290301561356, 0.00821135938167572, 0.027867812663316727, 0.023251883685588837, 0.04595261067152023, -0.008637644350528717, -0.06152276322245598, -0.004460916854441166, -0.03468836471438408, 0.010075815953314304, 0.029452385380864143, -0.008654868230223656, -0.01818813942372799, 0.0...
728,508
tables.description
Float32Col
Defines a non-nested column of a particular type. The constructor accepts the same arguments as the equivalent `Atom` class, plus an additional ``pos`` argument for position information, which is assigned to the `_v_pos` attribute and an ``attrs`` argument for storing ad...
from tables.description import Float32Col
(*args, **kwargs)
[ 0.01597834937274456, -0.027859685942530632, 0.03269074484705925, 0.04175538569688797, 0.02922535501420498, -0.0062223379500210285, -0.01838534325361252, -0.00837753713130951, -0.03803393244743347, -0.007306338753551245, 0.0038025397807359695, 0.0011757572647184134, -0.021526386961340904, 0...
728,516
tables.atom
Float64Atom
Defines an atom of type ``float64``.
from tables.atom import Float64Atom
(shape=(), dflt=0.0)
[ 0.046548690646886826, 0.03655233606696129, 0.06186297535896301, 0.04641406238079071, 0.045101407915353775, -0.024536512792110443, -0.07283540815114975, -0.020110515877604485, -0.02876056171953678, 0.01393431518226862, 0.04170197248458862, 0.019555162638425827, -0.030729541555047035, 0.0490...
728,524
tables.description
Float64Col
Defines a non-nested column of a particular type. The constructor accepts the same arguments as the equivalent `Atom` class, plus an additional ``pos`` argument for position information, which is assigned to the `_v_pos` attribute and an ``attrs`` argument for storing ad...
from tables.description import Float64Col
(*args, **kwargs)
[ 0.03563058003783226, -0.012509322725236416, 0.06645892560482025, 0.06572011858224869, 0.0254216305911541, -0.015943089500069618, -0.02995521016418934, -0.023524243384599686, -0.038652967661619186, 0.0035638976842164993, 0.01685820147395134, 0.019578348845243454, -0.029384315013885498, 0.02...
728,532
tables.atom
FloatAtom
Defines an atom of a floating point type (float kind).
class FloatAtom(Atom): """Defines an atom of a floating point type (float kind).""" kind = 'float' _deftype = 'float64' _defvalue = 0.0 __init__ = _abstract_atom_init(_deftype, _defvalue)
(itemsize=8, shape=(), dflt=0.0)
[ 0.04970107972621918, 0.008574271574616432, 0.02175118215382099, 0.04186917096376419, 0.06677538901567459, -0.00855107232928276, -0.04869889095425606, -0.024720625951886177, -0.053078822791576385, 0.0019660971593111753, 0.054081011563539505, 0.011692188680171967, -0.0164711382240057, 0.0507...
728,534
tables.atom
__init__
null
def _abstract_atom_init(deftype, defvalue): """Return a constructor for an abstract `Atom` class.""" defitemsize = split_type(deftype)[1] def __init__(self, itemsize=defitemsize, shape=(), dflt=defvalue): assert self.kind in atom_map try: atomclass = atom_map[self.kind][itemsiz...
(self, itemsize=8, shape=(), dflt=0.0)
[ 0.05949391797184944, 0.006882448680698872, 0.032093457877635956, -0.01210202369838953, 0.016942832618951797, 0.012286786921322346, 0.0020635798573493958, -0.020527249202132225, -0.04438024386763573, -0.04848200082778931, 0.06551721692085266, 0.07597484439611435, -0.029710005968809128, 0.07...
728,540
tables.description
FloatCol
Defines a non-nested column of a particular type. The constructor accepts the same arguments as the equivalent `Atom` class, plus an additional ``pos`` argument for position information, which is assigned to the `_v_pos` attribute and an ``attrs`` argument for storing ad...
from tables.description import FloatCol
(*args, **kwargs)
[ 0.03267070651054382, -0.02740820124745369, 0.04399256780743599, 0.04070557653903961, 0.011355062946677208, -0.014874468557536602, -0.005565475206822157, -0.00002948941801150795, -0.059066250920295715, 0.0001316404959652573, 0.004685623571276665, -0.008873218670487404, -0.020070571452379227, ...
728,548
tables.group
Group
Basic PyTables grouping structure. Instances of this class are grouping structures containing *child* instances of zero or more groups or leaves, together with supporting metadata. Each group has exactly one *parent* group. Working with groups and leaves is similar in many ways to working with dir...
class Group(hdf5extension.Group, Node): """Basic PyTables grouping structure. Instances of this class are grouping structures containing *child* instances of zero or more groups or leaves, together with supporting metadata. Each group has exactly one *parent* group. Working with groups and leaves ...
(parentnode, name, title='', new=False, filters=None, _log=True)
[ 0.015128680504858494, -0.017281455919146538, -0.042976513504981995, 0.039539970457553864, -0.01915772818028927, -0.027847832068800926, -0.02067849598824978, 0.03813770413398743, 0.007233523763716221, -0.016501320526003838, -0.014555923640727997, -0.019078727811574936, 0.0653337761759758, 0...
728,549
tables.group
__contains__
Is there a child with that `name`? Returns a true value if the group has a child node (visible or hidden) with the given `name` (a string), false otherwise.
def __contains__(self, name): """Is there a child with that `name`? Returns a true value if the group has a child node (visible or hidden) with the given `name` (a string), false otherwise. """ self._g_check_open() try: self._g_check_has_child(name) except NoSuchNodeError: re...
(self, name)
[ 0.05949407070875168, -0.04087194427847862, -0.02608479931950569, 0.04242666810750961, 0.002245711162686348, 0.026119347661733627, 0.007605187129229307, 0.030576221644878387, 0.03866078332066536, -0.015814989805221558, -0.012204576283693314, -0.01984863169491291, 0.07580138742923737, 0.0097...
728,550
tables.group
__del__
null
def __del__(self): if (self._v_isopen and self._v_pathname in self._v_file._node_manager.registry and '_v_children' in self.__dict__): # The group is going to be killed. Rebuild weak references # (that Python cancelled just before calling this method) so # that they are ...
(self)
[ 0.05105159431695938, -0.023222433403134346, -0.012187058106064796, 0.03152964636683464, -0.05127815529704094, 0.006990330293774605, -0.03337989002466202, 0.07249930500984192, 0.011280816979706287, 0.007164970505982637, -0.01738850586116314, -0.018256986513733864, 0.06562697887420654, -0.00...
728,551
tables.group
__delattr__
Delete a Python attribute called name. This method only provides a extra warning in case the user tries to delete a children node using __delattr__. To remove a children node from this group use :meth:`File.remove_node` or :meth:`Node._f_remove`. To delete a PyTables node attri...
def __delattr__(self, name): """Delete a Python attribute called name. This method only provides a extra warning in case the user tries to delete a children node using __delattr__. To remove a children node from this group use :meth:`File.remove_node` or :meth:`Node._f_remove`. To delete a PyTab...
(self, name)
[ 0.024677935987710953, 0.03756101056933403, 0.04293188452720642, 0.019921377301216125, -0.04816234111785889, -0.02460772730410099, -0.04640715569257736, 0.056025583297014236, 0.015164819546043873, 0.0021446195896714926, -0.00424974737688899, -0.010425813496112823, 0.0650472491979599, 0.0351...
728,552
tables.group
__dir__
Autocomplete only children named as valid python identifiers. Only PY3 supports this special method.
def __dir__(self): """Autocomplete only children named as valid python identifiers. Only PY3 supports this special method. """ subnods = [c for c in self._v_children if c.isidentifier()] return super().__dir__() + subnods
(self)
[ 0.007232322357594967, -0.015182686038315296, 0.0183403380215168, -0.021852687001228333, 0.013037212193012238, 0.031092064455151558, 0.05702807009220123, -0.016168911010026932, 0.03351437300443649, -0.049864958971738815, -0.008867381140589714, -0.0001659930421737954, 0.02064153179526329, 0....
728,553
tables.group
__getattr__
Get a Python attribute or child node called name. If the node has a child node called name it is returned, else an AttributeError is raised.
def __getattr__(self, name): """Get a Python attribute or child node called name. If the node has a child node called name it is returned, else an AttributeError is raised. """ if name in self._c_lazy_children_attrs: self._g_add_children_names() return self.__dict__[name] return ...
(self, name)
[ 0.04759672284126282, -0.03523509204387665, 0.034861575812101364, 0.028654079884290695, -0.012975264340639114, 0.02785368636250496, 0.046387240290641785, 0.0008798767812550068, 0.0469919815659523, -0.015483164228498936, 0.0058606574311852455, 0.05773503705859184, 0.05976270139217377, 0.0583...
728,554
tables.group
__getitem__
Return the (visible or hidden) child with that `name` ( a string). Raise IndexError if child not exist.
def __getitem__(self, childname): """Return the (visible or hidden) child with that `name` ( a string). Raise IndexError if child not exist. """ try: return self._f_get_child(childname) except NoSuchNodeError: raise IndexError(childname)
(self, childname)
[ 0.03911641612648964, -0.04308324679732323, -0.02699170634150505, -0.011201988905668259, -0.02662951685488224, 0.030492866411805153, 0.01992039568722248, 0.04956815391778946, 0.05329352989792824, -0.0035227194894105196, -0.0039021556731313467, 0.02626732736825943, 0.043290212750434875, -0.0...
728,555
tables.group
__init__
null
def __init__(self, parentnode, name, title="", new=False, filters=None, _log=True): # Remember to assign these values in the root group constructor # if it does not use this one! # First, set attributes belonging to group objects. self._v_version = obversion """The object v...
(self, parentnode, name, title='', new=False, filters=None, _log=True)
[ -0.003504964057356119, 0.028783809393644333, 0.004754954483360052, 0.01795811951160431, -0.032322801649570465, -0.022468067705631256, -0.003044441342353821, 0.017939971759915352, 0.07607927173376083, 0.022921783849596977, -0.0038815492298454046, -0.016506224870681763, 0.05201411992311478, ...
728,556
tables.group
__iter__
Iterate over the child nodes hanging directly from the group. This iterator is *not* recursive. Examples -------- :: # Non-recursively list all the nodes hanging from '/detector' print("Nodes in '/detector' group:") for node in h5file.root.detector...
def __iter__(self): """Iterate over the child nodes hanging directly from the group. This iterator is *not* recursive. Examples -------- :: # Non-recursively list all the nodes hanging from '/detector' print("Nodes in '/detector' group:") for node in h5file.root.detector: ...
(self)
[ 0.020580235868692398, -0.05353431776165962, -0.06576129049062729, 0.02105756476521492, -0.03187090903520584, 0.04762277752161026, 0.0003806586319115013, 0.03888398036360741, 0.04516269639134407, 0.028144069015979767, 0.012658406049013138, -0.024490663781762123, 0.006219049915671349, 0.0552...
728,557
tables.group
__repr__
Return a detailed string representation of the group. Examples -------- :: >>> import tables >>> f = tables.open_file('tables/tests/Tables_lzo2.h5') >>> f.root.group0 /group0 (Group) '' children := ['group1' (Group), 'tuple1' (Tabl...
def _get_value_from_container(self, container, key): return container._f_get_child(key)
(self)
[ 0.08960099518299103, -0.07339444011449814, -0.031632669270038605, 0.05094437301158905, 0.017634591087698936, 0.0684129148721695, 0.06290002912282944, 0.013740700669586658, 0.12181483954191208, -0.044202715158462524, 0.0008240269380621612, 0.012860631570219994, 0.04211047291755676, -0.03772...
728,558
tables.group
__setattr__
Set a Python attribute called name with the given value. This method stores an *ordinary Python attribute* in the object. It does *not* store new children nodes under this group; for that, use the File.create*() methods (see the File class in :ref:`FileClassDescr`). It does *neither* st...
def __setattr__(self, name, value): """Set a Python attribute called name with the given value. This method stores an *ordinary Python attribute* in the object. It does *not* store new children nodes under this group; for that, use the File.create*() methods (see the File class in :ref:`FileClassDes...
(self, name, value)
[ 0.037247881293296814, 0.01978209987282753, 0.011992547661066055, 0.07367384433746338, -0.016634522005915642, 0.00643992330878973, -0.010245969519019127, 0.05357418581843376, 0.007929651997983456, -0.025666292756795883, -0.01925905980169773, -0.007126412820070982, 0.09952693432569504, 0.055...
728,559
tables.group
__str__
Return a short string representation of the group. Examples -------- :: >>> import tables >>> f = tables.open_file('tables/tests/Tables_lzo2.h5') >>> print(f.root.group0) /group0 (Group) '' >>> f.close()
def _get_value_from_container(self, container, key): return container._f_get_child(key)
(self)
[ 0.08960099518299103, -0.07339444011449814, -0.031632669270038605, 0.05094437301158905, 0.017634591087698936, 0.0684129148721695, 0.06290002912282944, 0.013740700669586658, 0.12181483954191208, -0.044202715158462524, 0.0008240269380621612, 0.012860631570219994, 0.04211047291755676, -0.03772...
728,560
tables.group
_f_close
Close this group and all its descendents. This method has the behavior described in :meth:`Node._f_close`. It should be noted that this operation closes all the nodes descending from this group. You should not need to close nodes manually because they are automatically opened/c...
def _f_close(self): """Close this group and all its descendents. This method has the behavior described in :meth:`Node._f_close`. It should be noted that this operation closes all the nodes descending from this group. You should not need to close nodes manually because they are automatically ope...
(self)
[ 0.00931738130748272, 0.004969557747244835, -0.0091446777805686, 0.06535119563341141, -0.05046411231160164, -0.041172634810209274, -0.03979100286960602, 0.054056353867053986, -0.0025365902110934258, -0.03751131147146225, -0.022503333166241646, -0.07412455976009369, 0.07080864161252975, 0.02...
728,561
tables.group
_f_copy
Copy this node and return the new one. This method has the behavior described in :meth:`Node._f_copy`. In addition, it recognizes the following keyword arguments: Parameters ---------- title The new title for the destination. If omitted or None, the orig...
def _f_copy(self, newparent=None, newname=None, overwrite=False, recursive=False, createparents=False, **kwargs): """Copy this node and return the new one. This method has the behavior described in :meth:`Node._f_copy`. In addition, it recognizes the following keyword arguments: ...
(self, newparent=None, newname=None, overwrite=False, recursive=False, createparents=False, **kwargs)
[ -0.02814871445298195, -0.03313640505075455, 0.05861897021532059, 0.0017785652307793498, -0.0640963613986969, 0.01101826224476099, 0.005699570290744305, 0.016695162281394005, 0.07740896195173264, 0.01956988498568535, -0.007785331923514605, -0.04113484546542168, 0.009902833960950375, 0.04780...
728,562
tables.group
_f_copy_children
Copy the children of this group into another group. Children hanging directly from this group are copied into dstgroup, which can be a Group (see :ref:`GroupClassDescr`) object or its pathname in string form. If createparents is true, the needed groups for the given destination group pa...
def _f_copy_children(self, dstgroup, overwrite=False, recursive=False, createparents=False, **kwargs): """Copy the children of this group into another group. Children hanging directly from this group are copied into dstgroup, which can be a Group (see :ref:`GroupClassDescr`) object or i...
(self, dstgroup, overwrite=False, recursive=False, createparents=False, **kwargs)
[ 0.006598103791475296, 0.007724373135715723, -0.062375038862228394, 0.028867308050394058, -0.06001615524291992, 0.039288926869630814, 0.005616846960037947, 0.06844626367092133, 0.0044374060817062855, -0.004372150171548128, 0.02039853297173977, 0.002941352315247059, 0.03138086944818497, 0.01...
728,564
tables.group
_f_flush
Flush this Group.
def _f_flush(self): """Flush this Group.""" self._g_check_open() self._g_flush_group()
(self)
[ -0.010711942799389362, 0.039723798632621765, -0.0555080883204937, 0.0841171145439148, -0.01041598804295063, -0.046563658863306046, -0.08345943689346313, 0.05014800652861595, 0.0028465159703046083, -0.015940489247441292, -0.040249940007925034, -0.12469589710235596, 0.02786913886666298, 0.00...
728,565
tables.group
_f_get_child
Get the child called childname of this group. If the child exists (be it visible or not), it is returned. Else, a NoSuchNodeError is raised. Using this method is recommended over getattr() when doing programmatic accesses to children if childname is unknown beforehand or when its ...
def _f_get_child(self, childname): """Get the child called childname of this group. If the child exists (be it visible or not), it is returned. Else, a NoSuchNodeError is raised. Using this method is recommended over getattr() when doing programmatic accesses to children if childname is unknown bef...
(self, childname)
[ 0.07386873662471771, -0.024060692638158798, -0.034042954444885254, 0.05431726947426796, -0.015179921872913837, 0.012236875481903553, 0.057862695306539536, 0.09176795929670334, 0.023062465712428093, -0.026366939768195152, 0.028415024280548096, 0.025144971907138824, 0.03316520154476166, 0.00...
728,568
tables.group
_f_iter_nodes
Iterate over children nodes. Child nodes are yielded alphanumerically sorted by node name. If the name of a class derived from Node (see :ref:`NodeClassDescr`) is supplied in the classname parameter, only instances of that class (or subclasses of it) will be returned. This is ...
def _f_iter_nodes(self, classname=None): """Iterate over children nodes. Child nodes are yielded alphanumerically sorted by node name. If the name of a class derived from Node (see :ref:`NodeClassDescr`) is supplied in the classname parameter, only instances of that class (or subclasses of it) will...
(self, classname=None)
[ 0.015104859136044979, -0.05338278040289879, -0.04325147345662117, -0.025144062936306, -0.035385895520448685, 0.056551117449998856, -0.021091541275382042, 0.02647034451365471, 0.05905631184577942, 0.02542037144303322, 0.004096271935850382, -0.006820212118327618, 0.0315912589430809, 0.034851...
728,569
tables.group
_f_list_nodes
Return a *list* with children nodes. This is a list-returning version of :meth:`Group._f_iter_nodes()`.
def _f_list_nodes(self, classname=None): """Return a *list* with children nodes. This is a list-returning version of :meth:`Group._f_iter_nodes()`. """ return list(self._f_iter_nodes(classname))
(self, classname=None)
[ -0.011289402842521667, -0.03752729296684265, 0.004287718329578638, -0.02401816099882126, -0.018780987709760666, 0.09128635376691818, 0.004742936231195927, 0.021399574354290962, 0.08310110121965408, 0.04141181707382202, 0.014991841278970242, -0.030347855761647224, 0.04505356028676033, -0.01...
728,574
tables.group
_f_walk_groups
Recursively iterate over descendent groups (not leaves). This method starts by yielding *self*, and then it goes on to recursively iterate over all child groups in alphanumerical order, top to bottom (preorder), following the same procedure.
def _f_walk_groups(self): """Recursively iterate over descendent groups (not leaves). This method starts by yielding *self*, and then it goes on to recursively iterate over all child groups in alphanumerical order, top to bottom (preorder), following the same procedure. """ self._g_check_open() ...
(self)
[ 0.004115821328014135, -0.014541221782565117, -0.06344607472419739, 0.023280326277017593, -0.005375491920858622, -0.028705216944217682, 0.013562226668000221, 0.03319602087140083, 0.042321331799030304, 0.019975094124674797, 0.005159933120012283, -0.03213619068264961, 0.04900364950299263, 0.0...
728,575
tables.group
_f_walknodes
Iterate over descendant nodes. This method recursively walks *self* top to bottom (preorder), iterating over child groups in alphanumerical order, and yielding nodes. If classname is supplied, only instances of the named class are yielded. If *classname* is Group, it behaves l...
def _f_walknodes(self, classname=None): """Iterate over descendant nodes. This method recursively walks *self* top to bottom (preorder), iterating over child groups in alphanumerical order, and yielding nodes. If classname is supplied, only instances of the named class are yielded. If *classnam...
(self, classname=None)
[ -0.00814020074903965, -0.057022448629140854, -0.022181477397680283, 0.0024648618418723345, -0.0418456494808197, 0.015286248177289963, -0.028492983430624008, 0.014383301138877869, 0.04523853957653046, 0.03318100795149803, 0.0034316531382501125, -0.026012159883975983, 0.04199158027768135, 0....
728,576
tables.group
_g_add_children_names
Add children names to this group taking into account their visibility and kind.
def _g_add_children_names(self): """Add children names to this group taking into account their visibility and kind.""" mydict = self.__dict__ # The names of the lazy attributes mydict['__members__'] = members = [] """The names of visible children nodes for readline-style completion. """ ...
(self)
[ -0.009147348813712597, 0.001348175574094057, -0.04023360833525658, 0.006538421846926212, -0.035963620990514755, 0.04542385786771774, 0.016389766708016396, 0.046822644770145416, 0.05112944543361664, -0.03358935937285423, 0.0018566172802820802, 0.040380850434303284, 0.06033201143145561, 0.02...
728,578
tables.group
_g_check_has_child
Check whether 'name' is a children of 'self' and return its type.
def _g_check_has_child(self, name): """Check whether 'name' is a children of 'self' and return its type.""" # Get the HDF5 name matching the PyTables name. node_type = self._g_get_objinfo(name) if node_type == "NoSuchNode": raise NoSuchNodeError( "group ``%s`` does not have a child n...
(self, name)
[ 0.043170467019081116, -0.02548404410481453, -0.025696706026792526, 0.04756549000740051, -0.01882062293589115, 0.057560622692108154, 0.013885082677006721, 0.08924731612205505, 0.022134611383080482, -0.03647160157561302, 0.05624920502305031, 0.004332996439188719, 0.06365694105625153, -0.0389...
728,582
tables.group
_g_close
Close this (open) group.
def _g_close(self): """Close this (open) group.""" if self._v_isopen: # hdf5extension operations: # Close HDF5 group. self._g_close_group() # Close myself as a node. super()._f_close()
(self)
[ 0.0287177711725235, -0.027712224051356316, 0.004062669817358255, 0.07921674102544785, -0.030473219230771065, -0.03936976566910744, -0.047448236495256424, 0.0715813860297203, -0.024047939106822014, -0.02481488138437271, -0.00018121702305506915, -0.07628531008958817, 0.06858178973197937, 0.0...
728,583
tables.group
_g_close_descendents
Close all the *loaded* descendent nodes of this group.
def _g_close_descendents(self): """Close all the *loaded* descendent nodes of this group.""" node_manager = self._v_file._node_manager node_manager.close_subtree(self._v_pathname)
(self)
[ -0.026409022510051727, -0.015651032328605652, 0.006979288067668676, 0.0415908582508564, -0.057174865156412125, -0.007741731125861406, -0.0017552950885146856, 0.05228182300925255, -0.01140313409268856, -0.014109388925135136, -0.03007880412042141, -0.048226628452539444, 0.0196224395185709, 0...
728,584
tables.group
_g_copy
null
def _g_copy(self, newparent, newname, recursive, _log=True, **kwargs): # Compute default arguments. title = kwargs.get('title', self._v_title) filters = kwargs.get('filters', None) stats = kwargs.get('stats', None) # Fix arguments with explicit None values for backwards compatibility. if title i...
(self, newparent, newname, recursive, _log=True, **kwargs)
[ -0.03582935780286789, -0.019714202731847763, 0.02211357094347477, 0.003695294028148055, -0.06177475303411484, -0.011862543411552906, 0.02274027094244957, 0.0014011230086907744, 0.07079923897981644, 0.018997974693775177, -0.00502703245729208, -0.030081618577241898, 0.02868497185409069, 0.04...
728,586
tables.group
_g_copy_children
Copy child nodes. Copies all nodes descending from this one into the specified `newparent`. If the new parent has a child node with the same name as one of the nodes in this group, the copy fails with a `NodeError`, maybe resulting in a partial copy. Nothing is logged. ...
def _g_copy_children(self, newparent, **kwargs): """Copy child nodes. Copies all nodes descending from this one into the specified `newparent`. If the new parent has a child node with the same name as one of the nodes in this group, the copy fails with a `NodeError`, maybe resulting in a partial co...
(self, newparent, **kwargs)
[ -0.002647115383297205, -0.020021816715598106, -0.040659692138433456, 0.016152216121554375, -0.08501572161912918, 0.03942757844924927, 0.00972694531083107, 0.05263427644968033, 0.06118205562233925, -0.026220880448818207, -0.014409933239221573, -0.01643136702477932, 0.02377590909600258, 0.02...
728,588
tables.group
_g_delfilters
null
def _g_delfilters(self): del self._v_attrs.FILTERS
(self)
[ 0.01850564405322075, -0.021800467744469643, -0.007545658852905035, 0.012547645717859268, -0.06852550804615021, -0.011813565157353878, -0.0095430389046669, -0.027963323518633842, 0.03178736940026283, 0.045956820249557495, -0.026665881276130676, -0.006239679642021656, -0.010558800771832466, ...
728,589
tables.group
_g_get_child_group_class
Get the class of a not-yet-loaded group child. `childname` must be the name of a *group* child.
def _g_get_child_group_class(self, childname): """Get the class of a not-yet-loaded group child. `childname` must be the name of a *group* child. """ childCID = self._g_get_gchild_attr(childname, 'CLASS') if childCID is not None and not isinstance(childCID, str): childCID = childCID.decode('...
(self, childname)
[ 0.013206873089075089, 0.01271058153361082, -0.016028383746743202, 0.031174469739198685, -0.023803619667887688, -0.04551178589463234, 0.038159314543008804, 0.09778784215450287, 0.09933185577392578, -0.03464851155877113, 0.028159957379102707, 0.020072240382432938, 0.018087074160575867, -0.00...
728,590
tables.group
_g_get_child_leaf_class
Get the class of a not-yet-loaded leaf child. `childname` must be the name of a *leaf* child. If the child belongs to an unknown kind of leaf, or if its kind can not be guessed, `UnImplemented` will be returned and a warning will be issued if `warn` is true.
def _g_get_child_leaf_class(self, childname, warn=True): """Get the class of a not-yet-loaded leaf child. `childname` must be the name of a *leaf* child. If the child belongs to an unknown kind of leaf, or if its kind can not be guessed, `UnImplemented` will be returned and a warning will be issued...
(self, childname, warn=True)
[ 0.01703542098402977, -0.03441868722438812, 0.04470767825841904, 0.04877201467752457, -0.04232766479253769, -0.010801609605550766, 0.029896657913923264, 0.10083943605422974, 0.004846993368119001, -0.0625394880771637, 0.0280658770352602, 0.0016454147407785058, 0.01320908684283495, -0.0507858...
728,591
tables.group
_g_getfilters
null
def _g_getfilters(self): filters = getattr(self._v_attrs, 'FILTERS', None) if filters is None: filters = Filters() return filters
(self)
[ 0.006348971277475357, -0.0767504945397377, -0.011188516393303871, -0.011521100997924805, -0.03765890747308731, 0.005381062161177397, 0.009022446349263191, -0.04598207026720047, 0.055328577756881714, 0.04850630834698677, -0.017328554764389992, -0.004690307658165693, -0.016936274245381355, 0...
728,592
tables.group
_g_getnchildren
The number of children hanging from this group.
def _g_getnchildren(self): """The number of children hanging from this group.""" return len(self._v_children)
(self)
[ -0.016580872237682343, -0.006575755774974823, -0.025762435048818588, 0.042064566165208817, 0.001616487163119018, 0.09629238396883011, 0.014021522365510464, 0.019241582602262497, 0.03434428200125694, -0.04111853614449501, 0.020322760567069054, -0.02196142077445984, 0.008227085694670677, -0....
728,595
tables.group
_g_join
Helper method to correctly concatenate a name child object with the pathname of this group.
def _g_join(self, name): """Helper method to correctly concatenate a name child object with the pathname of this group.""" if name == "/": # This case can happen when doing copies return self._v_pathname return join_path(self._v_pathname, name)
(self, name)
[ -0.006613080855458975, -0.01157184224575758, -0.04413759335875511, 0.09069368243217468, -0.01936478167772293, -0.05300541967153549, 0.01867618039250374, 0.04585069417953491, 0.05051974207162857, -0.0076501802541315556, 0.04205499589443207, -0.03674773499369621, 0.0438016913831234, 0.046690...
728,599
tables.group
_g_move
null
def _g_move(self, newparent, newname): # Move the node to the new location. oldpath = self._v_pathname super()._g_move(newparent, newname) newpath = self._v_pathname # Update location information in children. This node shouldn't # be affected since it has already been relocated. self._v_fil...
(self, newparent, newname)
[ 0.00024776661302894354, -0.0008461145916953683, -0.03673013672232628, 0.022778797894716263, -0.05792682617902756, -0.032127633690834045, 0.018679693341255188, 0.12146295607089996, 0.034410908818244934, 0.002512499690055847, -0.025151964277029037, -0.05638067051768303, 0.06590929627418518, ...
728,600
tables.group
_g_post_init_hook
null
def _g_post_init_hook(self): if self._v_new: if self._v_file.params['PYTABLES_SYS_ATTRS']: # Save some attributes for the new group on disk. set_attr = self._v_attrs._g__setattr # Set the title, class and version attributes. set_attr('TITLE', self._v_new_title...
(self)
[ 0.022440407425165176, -0.0008029817254282534, -0.019932137802243233, 0.046757232397794724, -0.026633623987436295, -0.038983508944511414, 0.011172336526215076, 0.06012191250920296, 0.010712805204093456, 0.01742386631667614, -0.017088791355490685, 0.004217150155454874, 0.00890819076448679, 0...
728,602
tables.group
_g_refnode
Insert references to a `childnode` via a `childname`. Checks that the `childname` is valid and does not exist, then creates references to the given `childnode` by that `childname`. The validation of the name can be omitted by setting `validate` to a false value (this may be useful for a...
def _g_refnode(self, childnode, childname, validate=True): """Insert references to a `childnode` via a `childname`. Checks that the `childname` is valid and does not exist, then creates references to the given `childnode` by that `childname`. The validation of the name can be omitted by setting `validat...
(self, childnode, childname, validate=True)
[ 0.0066828858107328415, 0.0057982513681054115, -0.04502926766872406, 0.05529652535915375, -0.025118116289377213, 0.0378788523375988, 0.014603342860937119, 0.06721387803554535, 0.03934560716152191, -0.02975671924650669, -0.004553804639726877, -0.0030710105784237385, 0.05078626796603203, 0.00...
728,603
tables.group
_g_remove
Remove (recursively if needed) the Group. This version correctly handles both visible and hidden nodes.
def _g_remove(self, recursive=False, force=False): """Remove (recursively if needed) the Group. This version correctly handles both visible and hidden nodes. """ if self._v_nchildren > 0: if not (recursive or force): raise NodeError("group ``%s`` has child nodes; " ...
(self, recursive=False, force=False)
[ 0.03246571868658066, 0.0024158740416169167, -0.009209810756146908, 0.028926972299814224, -0.016314521431922913, -0.015488814562559128, -0.04188422113656998, 0.0634070485830307, 0.07349701225757599, 0.018564799800515175, 0.0178842730820179, 0.0008994310046546161, 0.055277012288570404, -0.01...
728,606
tables.group
_g_setfilters
null
def _g_setfilters(self, value): if not isinstance(value, Filters): raise TypeError( f"value is not an instance of `Filters`: {value!r}") self._v_attrs.FILTERS = value
(self, value)
[ 0.0011176554253324866, -0.04725722596049309, -0.031764719635248184, 0.0024980392772704363, -0.07708962261676788, -0.00017095889779739082, -0.022916702553629875, -0.0029345075599849224, 0.014534817077219486, 0.041155144572257996, -0.014305989257991314, -0.008424261584877968, -0.00863613933324...
728,608
tables.group
_g_unrefnode
Remove references to a node. Removes all references to the named node.
def _g_unrefnode(self, childname): """Remove references to a node. Removes all references to the named node. """ # This can *not* be triggered because of the user. assert childname in self, \ ("group ``%s`` does not have a child node named ``%s``" % (self._v_pathname, childname))...
(self, childname)
[ 0.02592708356678486, -0.015423648990690708, -0.02346697822213173, 0.01576387695968151, -0.0694064199924469, 0.03044600412249565, -0.01586856134235859, 0.08207335323095322, 0.05471557006239891, -0.026119006797671318, -0.02105921320617199, 0.023292502388358116, 0.035767510533332825, 0.020413...