Accessing Rows, Columns & Cells - Pandas | Python ~ Episode 2

Опубликовано: 22 Февраль 2022
на канале: David Weiss
2,302
32

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/pand...

❤️ Support the ongoing growth of this channel, get exclusive perks, and receive consultation on your projects!   / davidweissprogramming  

🧑‍💻 Pandas Documentation: https://pandas.pydata.org/docs/refere...

----------------------------------------------------------------------------------------------
🕒 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:
   • Python Interview Prep - Season 0 | In...  

Pandas:
   • Pandas  

-------------------------------------
Flutter
-------------------------------------
Basic Widgets:
   • Flutter - Season 2 | Basic Widgets  

Dart:
   • Flutter - Season 1 | Dart  

Flutter Orientation:
   • Flutter - Season 0 | Orientation  

-------------------------------------
Google Cloud
-------------------------------------
Compute Engine:
   • Google Cloud - Season 2 | Compute Engine  

App Engine:
   • Google Cloud - Season 1 | App Engine  

Google Cloud Orientation:
   • Google Cloud - Season 0 | Orientation  

-------------------------------------
Apps Script
-------------------------------------
Cache Service:
   • Apps Script - Season 17 | Cache Service  

JDBC Service:
   • Apps Script - Season 16 | JDBC Service  

Data Studio Service:
   • Apps Script - Season 15 | Data Studio...  

Maps Service:
   • Apps Script - Season 14 | Maps Service  

Utilities Service:
   • Apps Script - Season 13 | Utilities S...  

Properties Service:
   • Apps Script - Season 12 | Properties ...  

URL Fetch Service:
   • Apps Script - Season 11 | URL Fetch S...  

Drive Service:
   • Apps Script - Season 10 | Drive Service  

Forms Service:
   • Apps Script - Season 9 | Forms Service  

Lock Service:
   • Apps Script - Season 8 | Lock Service  

HTML Service:
   • Apps Script - Season 7 | HTML Service  

Document Service:
   • Apps Script - Season 6 | Document Ser...  

Slides Service:
   • Apps Script - Season 5 | Slides Service  

Calendar Service:
   • Apps Script - Season 4 | Calendar Ser...  

Script Service:
   • Apps Script - Season 3 | Script Service  

Gmail Service:
   • Apps Script - Season 2 | Gmail Service  

Spreadsheet Service:
   • Apps Script - Season 1 | Spreadsheet ...  

Apps Script Orientation:
   • Apps Script - Season 0 | Orientation  
----------------------------------------------------------------------------------------------