New! Use Simple ML for Sheets to apply machine learning to the data in your Google Sheets
Read More
tfdf.py_tree.node.defaultdict
Stay organized with collections
Save and categorize content based on your preferences.
defaultdict(default_factory=None, /, [...]) --> dict with default factory
tfdf.py_tree.node.defaultdict(
*args, **kwargs
)
The default factory is called without arguments to produce
a new value when a key is not present, in getitem only.
A defaultdict compares equal to a dict with the same items.
All remaining arguments are treated the same as if they were
passed to the dict constructor, including keyword arguments.
Attributes |
default_factory
|
Factory for default value called by missing().
|
Methods
copy
copy()
D.copy() -> a shallow copy of D.
__or__
__or__(
value, /
)
Return self|value.
__ror__
__ror__(
value, /
)
Return value|self.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tfdf.py_tree.node.defaultdict\n\n\u003cbr /\u003e\n\ndefaultdict(default_factory=None, /, \\[...\\]) --\\\u003e dict with default factory \n\n tfdf.py_tree.node.defaultdict(\n *args, **kwargs\n )\n\nThe default factory is called without arguments to produce\na new value when a key is not present, in **getitem** only.\nA defaultdict compares equal to a dict with the same items.\nAll remaining arguments are treated the same as if they were\npassed to the dict constructor, including keyword arguments.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|-------------------|----------------------------------------------------|\n| `default_factory` | Factory for default value called by **missing**(). |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `copy`\n\n copy()\n\nD.copy() -\\\u003e a shallow copy of D.\n\n### `__or__`\n\n __or__(\n value, /\n )\n\nReturn self\\|value.\n\n### `__ror__`\n\n __ror__(\n value, /\n )\n\nReturn value\\|self."]]