Тёмный

Select Rows and Columns in Pandas | Python Tutorial For Beginners | Select Data Conditionally 

datagy
Подписаться 5 тыс.
Просмотров 3,7 тыс.
50% 1

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

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@kbkonatham1701
@kbkonatham1701 2 года назад
it is very help full
@datagy
@datagy 2 года назад
Thanks!
@everything-5251
@everything-5251 3 года назад
Thank you bro
@datagy
@datagy 3 года назад
No problem! Hope it helped!
@JacquesSpace
@JacquesSpace 2 года назад
Exactly what I was looking for. Thank God I found this video! Whew!!! Thanks for sharing
@datagy
@datagy 2 года назад
I’m so glad it was helpful!!
@lawyewka4726
@lawyewka4726 2 года назад
Hello, may I know how to filter to show row starting with specific letter?
@datagy
@datagy 2 года назад
Hey there! Great question. You can use: df[df[col].str[0] == letter] Here, you’re accessing only the first letter of the string and checking if it’s equal to your letter. Hope that helps!
@lawyewka4726
@lawyewka4726 2 года назад
datagy may I know what’s the function for str[0]
@datagy
@datagy 2 года назад
With .str you get access to different string functions, and with [0] you’re accessing the first index of the string :)
@lawyewka4726
@lawyewka4726 2 года назад
@@datagy Oh thanks for the explanation
@datagy
@datagy 2 года назад
You’re welcome!
@Mrshepism
@Mrshepism 3 года назад
Thank you for the help! Appreciate the timestamps as well!
@datagy
@datagy 3 года назад
Thanks for the feedback! It’s very helpful.
@SniperUSMC
@SniperUSMC 4 года назад
nice but volume is too low
@datagy
@datagy 4 года назад
Thanks for your feedback! I’ll work on that!
@IsItBehindTheFridge
@IsItBehindTheFridge 2 года назад
This was very helpful. Thankyou
@datagy
@datagy 2 года назад
Thank you! :)
@FabioRBelotto
@FabioRBelotto 2 года назад
What is the difference of filtering strigh on colum select or using loc method?
Далее
ОВР Шоу:  Семейные понты  @ovrshow_tnt
07:21
Обменялись песнями с POLI
00:18
Просмотров 432 тыс.
Data selection in Pandas with "filter"
8:24
Просмотров 3,2 тыс.
Exploratory Data Analysis with Pandas Python
40:22
Просмотров 477 тыс.
Python Map Function
13:40
Просмотров 4,9 тыс.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Просмотров 198 тыс.