UoMResearchIT / programming_with_python

Intermediate Python programming course
https://uomresearchit.github.io/programming_with_python/
Other
1 stars 0 forks source link

Add note on getting index from name #23

Open SJaffa opened 3 days ago

SJaffa commented 3 days ago

https://github.com/UoMResearchIT/programming_with_python/blob/19edfb758c78c9614ae7a2406dfa581a473f47ac/_episodes/07-pandas_essential.md?plain=1#L121

We had a quwestion on how to get the index number from the name. The answer is data.index.get_loc('string')

We should add this to the material