Accessing Rows, Columns & Cells - Pandas | Python ~ Episode 2
Hey Coders! Printing out your pandas data to a jupyter notebook is nice and fine, but how do you actually access that data? If you wanted to perform an operation on an individual column, row, cell, or group of cells, how could you grab that data out of your source dataframe? In pandas, there are a variety of ways to accomplish these tasks, and in this video, we'll examine the methods to do it. Bracket notation is always nice, but just wait and see what iloc and loc can do! Check out the source code on GitHub: https://github.com/davidtheweiss/pandas-tutorial ❤️ Support the ongoing growth of this channel, get exclusive perks, and receive consultation on your projects! https://www.patreon.com/DavidWeissProgramming 🧑💻 Pandas Documentation: https://pandas.pydata.org/docs/reference/index.html ---------------------------------------------------------------------------------------------- 🕒 Timestamps 0:00 Intro 0:57 Importing pandas and glancing at our data 2:30 Bracket and dot notation for accessing a single column 5:17 Accessing multiple columns 6:30 iloc gets data based on index position 7:44 loc gets data based on index name 9:25 Accessing data given a row(s) & column(s) 14:00 Faster data retrieval for a single cell of data ---------------------------------------------------------------------------------------------- Other playlists: ------------------------------------- Python ------------------------------------- Interview Prep Introduction: https://www.youtube.com/playlist?list=PL42xwJRIG3xBG8laocRYsDaiK0xNOyjnD Pandas: https://www.youtube.com/playlist?list=PL42xwJRIG3xAfE7AJkO7sCIyMGVVgZu-i ------------------------------------- Flutter ------------------------------------- Basic Widgets: https://www.youtube.com/playlist?list=PL42xwJRIG3xDX1V8-sNHXk39qeSVy7W8J Dart: https://www.youtube.com/playlist?list=PL42xwJRIG3xDhQj15rrsAxv_TNdv9Paqa Flutter Orientation: https://www.youtube.com/playlist?list=PL42xwJRIG3xD4v1Xb8prXG89zZgSWND-p ------------------------------------- Google Cloud ------------------------------------- Compute Engine: https://www.youtube.com/playlist?list=PL42xwJRIG3xAjjZ3tY_zrZYEhStnIofzB App Engine: https://www.youtube.com/playlist?list=PL42xwJRIG3xCtmOrJAQFR5sIJFKIJ9MEn Google Cloud Orientation: https://www.youtube.com/playlist?list=PL42xwJRIG3xBGAOjrm9iZ3N5_eP_KRc34 ------------------------------------- Apps Script ------------------------------------- Cache Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xCCAeJUuxtmr47NYC8sRQ2d JDBC Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xCFMS4-IyAQg-9bJGx7-226 Data Studio Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xBM88UgT79HKxO_u0ze3BZL Maps Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xAXgY2FksYt-kbKuXNmSUMA Utilities Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xBnsGHi6fetv17uQ35NXm0S Properties Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xDBj4s5WwO7sYUyA3H06Bjs URL Fetch Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xDormBAHLcxorCYpHlHa_IE Drive Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xDbvnvgWOizjX6j1jYBn0zk Forms Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xBoKUA3zPkICMTAa_vu0QEl Lock Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xDBPhvVrQdRi2Hdy9kMeb90 HTML Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xAafvhn9eCubEdas3I2TrNh Document Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xBFGeUZCMubWlwrhUXDdaTA Slides Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xBknGu3JNdJqHCiPpaVxAuY Calendar Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xAqrGnc_o2NL4RH4jdyiHsp Script Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xDPE35v7e83rH7Uu4g_MfmC Gmail Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xA5pkm04CY_WVZ9lE1Ju_JH Spreadsheet Service: https://www.youtube.com/playlist?list=PL42xwJRIG3xBZFP5wYh-OFb-CQmjz-Rn- Apps Script Orientation: https://www.youtube.com/playlist?list=PL42xwJRIG3xCm6O85pd91tQxgxGcq82m4 ----------------------------------------------------------------------------------------------
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.