Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python | Pandas MultiIndex.is_lexsorted()

"""Now let’s check if the labels in the MultiIndex are lexicographically sorted or not."""
# check if labels are sorted or not
midx.is_lexsorted()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #Python #Pandas
ADD COMMENT
Topic
Name
7+3 =