Back to Browse

Renaming Columns & Indicies - Pandas | Python ~ Episode 10

199 views
Mar 29, 2022
12:07

Hey Coders! Included within your pandas data cleaning tasks is making sure your column and index names are both readable and accessible. This can come in handy for both understanding your dataframe's schema as well as performing efficient joins and merges. Furthermore, renaming columns to more human-readable names can assist in your data analysis and presentation. Watch this tutorial to learn how to both set your dataframe's index as well as rename those columns! 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:36 Importing pandas and displaying our data 1:25 Renaming columns and indices using rename() 4:52 Passing a custom function into the rename method 6:02 Using the dataframe's ".columns" property to rename 7:50 Setting the index from an existing column 10:17 Converting the dataframe's indices into a column with reset_index() ---------------------------------------------------------------------------------------------- Other playlists: ------------------------------------- Python ------------------------------------- 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

0 formats

No download links available.

Renaming Columns & Indicies - Pandas | Python ~ Episode 10 | NatokHD