MCPcopy
hub / github.com/pandas-dev/pandas / set_attr

Method set_attr

pandas/io/pytables.py:2421–2423  ·  view source on GitHub ↗

set the kind for this column

(self)

Source from the content-addressed store, hash-verified

2419 self.__dict__.update(idx)
2420
2421 def set_attr(self) -> None:
2422 """set the kind for this column"""
2423 setattr(self.attrs, self.kind_attr, self.kind)
2424
2425 def validate_metadata(self, handler: AppendableTable) -> None:
2426 """validate that kind=category does not change the categories"""

Callers 1

validate_and_setMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected