Тёмный

How to Remove Columns From Pandas Dataframe? | GeeksforGeeks 

GeeksforGeeks
Подписаться 712 тыс.
Просмотров 29 тыс.
50% 1

In this video, we're going to discuss how to remove the columns from a Python Pandas DataFrame. There are various methods for removing or dropping columns from Pandas DataFrame such as drop(), drop() with iloc[], iterative method, etc. So, let's understand each of them with the help of live examples.
00:00 Let's Start
00:58 Dropping a Column from a DataFrame Using drop()
02:01 Dropping Multiple Columns from a DataFrame Using drop()
02:27 Dropping Columns Using drop() Based on Column Indices
03:24 Dropping Columns from a DataFrame Using drop() with iloc[]
05:38 Dropping Columns from a DataFrame Using drop() with loc[]
07:16 Dropping Columns from a DataFrame by Iterative Way
08:48 Closing Notes
Download Dataset From [www.kaggle.com/amitabhajoy/be...]
Check Out the Related Articles:
How to Drop One or Multiple Columns in Pandas Dataframe? [www.geeksforgeeks.org/how-to-...]
Complete Pandas Tutorial [www.geeksforgeeks.org/pandas-...]
WISH TO CONTRIBUTE VIDEOS ON GEEKSFORGEEKS? Please submit this Google Form - docs.google.com/forms/d/e/1FA...
Our courses: practice.geeksforgeeks.org/co...
This video is contributed by Akshit Madan.
Please Like, Comment, and Share the Video among your friends.
#python​​ #pandas​​ #dataframe​​ #datascience​​ #pythonpandas​​ #eda​​
Install our Android App:
play.google.com/store/apps/de...
If you wish, translate into the local language and help us reach millions of other geeks:
ru-vid.com_cs_p...
Follow us on our Social Media Handles -
Twitter- / geeksforgeeks
LinkedIn- / geeksforgeeks
Facebook- / geeksforgeeks.org
Instagram- geeks_for_g...
Reddit- / geeksforgeeks
Telegram- t.me/s/geeksforgeeks_official
Also, Subscribe if you haven't already! :)

Опубликовано:

 

13 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@GeeksforGeeksVideos
@GeeksforGeeksVideos 3 года назад
WISH TO CONTRIBUTE VIDEOS ON GEEKSFORGEEKS? Please submit this Google Form - docs.google.com/forms/d/e/1FAIpQLScSVFlE-stz69M_l46xcwZlVRzDxT_91dlc-px5ytr7QHYmkQ/viewform
@vitorribeirosa
@vitorribeirosa Год назад
Thanks for sharing this content. It was very useful!!! Cheers
@Charlay_Charlay
@Charlay_Charlay 5 месяцев назад
Thanks!
@misahhere9224
@misahhere9224 7 месяцев назад
Thankyou im literally crying
@amarsharma9949
@amarsharma9949 3 года назад
Sir, Is there any way we can copy the data from Share Point to Local
@mohammeddanishreza4902
@mohammeddanishreza4902 Год назад
Does it actually delete the column from source dataframe or file ?
@user_dies
@user_dies Год назад
Watching one day before exam
@kalyanreddygangavaram8016
@kalyanreddygangavaram8016 Год назад
How can we remove first column where it is showing index from 0 to N
@amirmahdijamshidi6513
@amirmahdijamshidi6513 Год назад
in the end you must write index= False ex "merge1.to_excel('Desktop\Pharmacy_update.xlsx', index=False)"
@lohithraj470
@lohithraj470 Год назад
@1:36 you say axis = 1 is columns, but axis = 1 for rows, so?
@rishabhsinghal3238
@rishabhsinghal3238 10 месяцев назад
axis=0 (or axis='rows' is horizontal axis. axis=1 (or axis='columns') is vertical axis
@mwredfern
@mwredfern 2 года назад
its irritating that i use to be able to access and learn from your website, without having to give up my email address to you. i am NOT giving you my email address to create an account, so I can access your site tutorials.
@keuzl
@keuzl Год назад
LMAO
Далее
How do I use the MultiIndex in pandas?
25:01
Просмотров 172 тыс.