How do I select multiple rows and columns from a pandas DataFrame?

Data School
Data School
348.9 هزار بار بازدید - 8 سال پیش - Have you ever been confused
Have you ever been confused about the "right" way to select rows and columns from a DataFrame? pandas gives you an incredible number of options for doing so, but in this video, I'll outline the current best practices for row and column selection using the loc, iloc, and ix methods.

SUBSCRIBE to learn data science with Python:
https://www.youtube.com/dataschool?su...

JOIN the "Data School Insiders" community and receive exclusive rewards:
Patreon: dataschool

== RESOURCES ==
GitHub repository for the series: https://github.com/justmarkham/pandas...
"loc" documentation: http://pandas.pydata.org/pandas-docs/...
"iloc" documentation: http://pandas.pydata.org/pandas-docs/...
"ix" documentation: http://pandas.pydata.org/pandas-docs/...
Summary of the pandas API for selection: https://github.com/pydata/pandas/issu...

== LET'S CONNECT! ==
Newsletter: https://www.dataschool.io/subscribe/
Twitter: Twitter: justmarkham
Facebook: Facebook: DataScienceSchool
LinkedIn: LinkedIn: justmarkham
8 سال پیش در تاریخ 1395/03/18 منتشر شده است.
348,924 بـار بازدید شده
... بیشتر