all AI news
The new case_when method in Pandas 2.2.0
Jan. 23, 2024, 10:57 p.m. | Python and Pandas with Reuven Lerner
Reuven Lerner www.youtube.com
Note: In my excitement to get this video done, I showed a different example than I had planned for passing a method; the call to str.contains returns a boolean series, and isn't actually a callable.
Here's a simple example of passing a callable, albeit not the most interesting one:
s.case_when(caselist=[(lambda s_: s_.lt(500), 'low'),
(lambda s_: …
More from www.youtube.com / Reuven Lerner
Advanced unpacking in Python "for" loops
2 months, 1 week ago |
www.youtube.com
Sorting a mix of letters and numbers in Python
2 months, 1 week ago |
www.youtube.com
The new case_when method in Pandas 2.2.0
3 months, 1 week ago |
www.youtube.com
Five mistakes companies make teaching Python to their staff
5 months, 3 weeks ago |
www.youtube.com
Comparing values in Pandas with "diff" and "pct_change"
5 months, 3 weeks ago |
www.youtube.com
Selecting rows in Pandas using .loc and lambda
5 months, 3 weeks ago |
www.youtube.com
Understanding "with" and Python's context managers
5 months, 3 weeks ago |
www.youtube.com
Jobs in AI, ML, Big Data
AI Research Scientist
@ Vara | Berlin, Germany and Remote
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
AI Engineering Manager
@ M47 Labs | Barcelona, Catalunya [Cataluña], Spain