Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier.
Index.summary() function return a summarized representation of the Index. This function is similar to what we have for the dataframes.
Returns : Summary
Example #1: Use
Index.summary() function to find the summary of the Index.
Now we will find the summary of the Index.
As we can see in the output, the function has returned an overall summary of the Index.
Example #2: Use
Index.summary() function to summarize the Index.
Now we will find the summary of the index.
As we can see in the output, the function has returned the summary for the Index.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course