Set a named attribute.
f.setattr(attr, value) is equivalent to setattr(f, attr, value).
The attribute’s name.
The value to set the attribute.
None
See also
delattr, hasattr, getattr
Examples
>>> f.setattr('foo', -99) >>> f.foo -99
cf.DimensionCoordinate.select
cf.DimensionCoordinate.setdata
Enter search terms or a module, class or function name.