Rename the axis.
the new name for the axis.
a new Axis with the same labels but a different name.
Examples
>>> sex = Axis('sex=M,F') >>> sex Axis(['M', 'F'], 'sex') >>> sex.rename('gender') Axis(['M', 'F'], 'gender')