

def get(self, column, default_value=None):
    'Get an item from the Row by column name.\n\n    Args:\n      column: Tuple of column names, or a (str) column name, or positional\n        column number, 0-indexed.\n      default_value: The value to use if the key is not found.\n\n    Returns:\n      A list or string with column value(s) or default_value if not found.\n    '
    if isinstance(column, (list, tuple)):
        ret = []
        for col in column:
            ret.append(self.get(col, self))
        return ret
    try:
        return self._values[column]
    except (IndexError, TypeError):
        pass
    try:
        return self[column]
    except IndexError:
        return default_value

dataset/ETHPy150Open google/textfsm/texttable.py Row.get/VarMisuse@54/192 `default_value`->`self`