copyattrs#
- caput.memdata.copyattrs(a1, a2, convert_strings=False)[source]#
Copy attributes from one attribute-like object to another.
- Parameters:
- a1
AttributesLike Attributes to copy from.
- a2
AttributesLike Attributes to copy into.
- convert_stringsbool, optional
Convert string attributes (or lists/arrays of them) to ensure that they are unicode. Default is
False.
- a1