def set_attr(self, name: str, values: np.ndarray, axis: int = <NUM_LIT:0>, dtype: str = None) -> None:
deprecated("<STR_LIT>")<EOL>if axis == <NUM_LIT:0>:<EOL><INDENT>self.ra[name] = values<EOL><DEDENT>else:<EOL><INDENT>self.ca[name] = values<EOL><DEDENT>
**DEPRECATED** - Use `ds.ra.key = values` or `ds.ca.key = values` instead