21 more pandas tricks

21 more pandas tricks

Data School

2 года назад

47,324 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Data School
Data School - 12.05.2022 19:42

THANKS for watching! 🙌 Which trick are you most excited to start using? CLICK REPLY and let me know!

Ответить
Yerriswamy M
Yerriswamy M - 07.03.2023 17:17

Hi Kevin, Thanks for the insightful video. I love your videos and courses they are so subtle and impactful. Would it be possible for you to make a video on Python Class/objects? Its a daunting concept for someone like me (not from coding background) who has limited understanding of OOPs. Additionally I have observed that many coders use python classes for ML scripts/pipeline, scripting files on Github. So it would be helpful if you could make an video on the same.
Thanks in advance !!

Ответить
正经的一哥
正经的一哥 - 31.12.2022 07:29

Hi Kevin, a question question, why the code (titanix.SibSp > 0).astype(' int ') can set different integers into 0 and 1?

Ответить
Georgiy Veter
Georgiy Veter - 21.11.2022 19:58

Hi, for example I have a table, which I've got by left outer join:

person - vehicle

dad - car
dad - motorcycle
dad - bicycle
mom - car
mom - bicycle
son - None/NA/NaN/NaT

How to group by person and count with condition (car and motorcycle)?

When I use for example:
df = df.groupby(['person'])['vehicle'].apply(lambda x: x[x == 'car'].count())

But I can't use a list in condition lambda x: x[x in ['car']], pandas says:
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()

Ответить
tram phone
tram phone - 25.09.2022 22:06

good

Ответить
bobiq11
bobiq11 - 05.09.2022 00:52

Just doing your datacamp RI Police course. It's a really well laid out course and I think you're adorable. :-)

Ответить
Amit Nikhate
Amit Nikhate - 29.08.2022 10:59

Hi Kevin, Thank you for creating such amazing contents. These videos are really helpful for doing real time projects. I wanted to request you to make video on particular topic. if you can make video on how to use pandas to write, read and edit google sheets, that would be very helpful. It can include putting values in range of cells as well as one cell in google sheet, reading data, etc. If there is already any video you have made on this topic, let me know.

Ответить
Carlos Eduardo Correa Coimbra
Carlos Eduardo Correa Coimbra - 16.08.2022 21:47

Thanks a lot for the excellent tricks (25 + 21) ! Really amazing and useful.

Ответить
Faiz Anwar
Faiz Anwar - 13.08.2022 20:49

Sir , please make a video on user defined functions in pandas dataframe

Ответить
SOURANEEL MANDAL
SOURANEEL MANDAL - 05.08.2022 08:01

How to use text classification approach where target column is bigram word...?
Can you please show us ..?

Ответить
PivotAI
PivotAI - 07.07.2022 12:56

I was becoming sad that you were no longer making pandas videos. What a come back like that of Real Madrid :)). Thanks Kevin!!

Ответить
Dariusz Spiewak
Dariusz Spiewak - 03.07.2022 15:26

Hi Kevin. The most important question of all: How to remember all of those things? Do you have any means? Any way that lets you retain the tricks/knowledge in your mind for longer? Would you please share any thoughts on that? Thanks.

Ответить
hyakushiki23
hyakushiki23 - 16.06.2022 22:51

Hi Kevin, I hear a lot about API's. Maybe one day you can demo how to create a basic custom API.

Ответить
Pablo Dominguez
Pablo Dominguez - 10.06.2022 16:57

Great tips, holy! there is always something new to learn.

Ответить
Yuri
Yuri - 02.06.2022 02:53

amazing content!!

Ответить
yd
yd - 20.05.2022 09:03

Cool. pandas and numpy seem to have a ton of functions and it’s hard to remember them all. Would appreciate a video focused on multilevel data frames, as I always forget how to index, etc those.

Ответить
ahmed sabri
ahmed sabri - 18.05.2022 22:02

This resample methood is incredibly useful
Thanks a ton

Ответить
Sachin Rathi
Sachin Rathi - 18.05.2022 19:38

why below code is not giving any output
pd.testing.assert_series_equal(df.c, df.d, check_names=False, check_dtype=False)

Ответить
vinod kumar
vinod kumar - 17.05.2022 17:05

Thanks for the tips.
Q: How crosstab provided the results compared to pivot where no target value 'Survived' is provided

Unable to view the Notebook from link provided. Please re upload

Ответить
Shubhi Ahuja
Shubhi Ahuja - 17.05.2022 10:05

Thank you for you amazing videos! Super informative and helpful, as always.

Ответить
Pie Trader Detective
Pie Trader Detective - 17.05.2022 06:13

Great tips and tricks as always!
do you have a tutorial video about writing efficient pandas code? for example implementing vectorization?
I've watched plenty of your videos but I think I haven't seen one about the topic

Ответить
fj0n
fj0n - 14.05.2022 20:26

What a great video! Thanks!

Ответить
Gabriel Reilly
Gabriel Reilly - 13.05.2022 21:50

I love these videos. I always learn so much.

Ответить
Reza Ghari
Reza Ghari - 13.05.2022 17:03

That was really Helpful, man! Glad that I saw your tweet in my timeline!

Ответить
Time Passer
Time Passer - 13.05.2022 15:32

I miss your videos , man. Best like to best tutor. 👌

Ответить
horoshuhin
horoshuhin - 13.05.2022 09:54

love it. I really enjoyed this video. thanks for the quality content

Ответить
DartEremite
DartEremite - 13.05.2022 09:51

Thank you 😊😊

Ответить
Kiss Nicky
Kiss Nicky - 13.05.2022 01:07

Thanks so much,really helpful

Ответить
Wagner Santos
Wagner Santos - 12.05.2022 23:52

jupyter notebook link broken

Ответить
frank giardina
frank giardina - 12.05.2022 21:51

Lots of time savers here thanks well done

Ответить
Nguyễn Hữu Đức
Nguyễn Hữu Đức - 12.05.2022 21:00

The meaning of 🐼 is 46!

Ответить
Kris
Kris - 12.05.2022 20:29

Thank you so much! Your tutorials are the best

Ответить
Immanuel Suleiman
Immanuel Suleiman - 12.05.2022 20:16

excellent as always

Ответить