There's more...

If you wish to dispose of the level values altogether, you may set them to None. A case for this can be made when there is a need to reduce clutter in the visual output of a DataFrame or when it is obvious what the column levels represent and no further processing will take place:

>>> cg.rename_axis([None, None], axis='index') 
.rename_axis([None, None], axis='columns')
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.78.136