Saturday, July 11, 2020

Answer for How to extract an index from a DataFrame?

https://365datascience.com/dwqa-answer/answer-for-how-to-extract-an-index-from-a-dataframe/ -

Hi Miguel!

Thanks for reaching out.

Please accept my apologies for the delayed response.

You can use the .index attribute to obtain an index object containing the index values. Also, you can use indexing on top of using this attribute to obtain a specific value from the index – .index[]. For instance, you can use .index[0] applied to the relevant DataFrame.

Hope this helps.
Best,
Martin




#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy

No comments:

Post a Comment