💪 Master the Python Data Science Ecosystem 💪 🕴️Founder of Dunder Data 📚Author of multiple books 💻Developer of Dexplot https://xitter.cf/t.co/QSRQLcRY0g

Houston, TX
Joined September 2012
The ColumnTransformer -> Pipeline -> GridSearchCV is a powerful combination for building machine learning workflows in Python with scikit-learn. See how it's done in my latest Kaggle ML notebook github.com/tdpetrou/Kaggle/b…
8
1,072
Teddy Petrou retweeted
I want to give away 1,000 copies of the Zefs Guide to Deep Learning ebook! 🎅 Please retweet if you know anyone who wants to learn about the tech powering AI, ChatGPT, and Stable Diffusion🤖 Right now the ebook is free! (or pay-what-you-want) leanpub.com/zefsguide2dl/c/F…
1
3
2
3
3,315
The first app I ever built was Game Theory Optimal Poker where you play against a bot that mimics my own heads-up limit hold'em poker strategy. Close to 300,000 hands have been played - can you beat it? gametheoryoptimalpoker.com
1
1
9
1,062
Have you mastered selecting subsets of data in pandas? Can you prove it? Take our challenging Certification Exam - python.dunderdata.com
5
654
Teddy Petrou retweeted
Pricing dynamics are fascinating. I'm extending my pay-what-you-want experiment on my deep learning book, as it's been getting pretty positive results. Please share with anyone who you think would benefit from learning about the concepts underlying all the current AI models!
Get a FREE copy of Zefs Guide to Deep Learning (ebook) right now! ...or pay whatever you'd like Based on the positive response to my "pay-what-you-want" pricing experiment, I've decided to extend that for at least another month (Sep 2023). zefsguides.com/
3
4
1,384
Join our Most Badass QR Code Competition in our Discord! 💰 Show off your creativity and win big! The winner gets $500 cash + $500 ThinkDiffusion credit! 💪 Unleash #GenerativeAI and create stunning #QRcodes. Click the link below for full rules #DesignChallenge #AIArt
12
11
3
22
1,992
Pandas Quiz Very specifically, what is happening with the following subset selections and why does the first one work and not the second? df[['col1', 'col2']] df['col1', 'col2'] This takes deep knowledge of python and pandas
2
1
6
1,518
Teddy Petrou retweeted
Sulla was Rome's deadliest general. He almost had young Julius Caesar executed. But thousands loved Sulla, too. 9 keys to Sulla's effectiveness, that can make you just as deadly:
79
583
85
3,527
904,261
Very excited to announce the release of Game Theory Optimal Poker for Android. Play heads-up limit Texas Hold'em Poker against an AI I implemented from my poker playing days. play.google.com/store/apps/d…
4
751
A disappointing first test of Pandas 2.0. Arrow backend data types have terrible rowwise performance. Here, they are 250x slower than default pandas and well over 1000x slower than numpy arrays.
2
7
1,187
The pandas crosstab function has one key extra feature that the pivot_table method does not - normalization! In this example, both compute an aggregation, but crosstab is able to go further and normalize the result across rows.
1
8
1
49
8,460
Teddy Petrou retweeted
Reminder - if you are a #PowerBI developer, *now* is the time to learn #python. You already learned DAX so nothing is difficult for you 😉 I suggest few resources below to help you get started:
If you are a #PowerBI dev and have been meaning to learn #Python , now is the time 👇 You will thank me in 6 months.
7
12
64
10,095
Looking to master the fundamentals of Python without knowledge gaps?!? Try my course. 4.8 stars on Udemy. 30 hours of video, 200 exercises, multiple projects, and a challenging certification exam udemy.com/course/master-fund…
1
14
944
One specific example of how Pandas can be very confusing to beginners. The square brackets select COLUMNS when passed a list of names, but then also select ROWS when passed a boolean Series.
3
7
1,165
Making some final edits to Master Data Analysis with Python. The book will be published (hardcopy) later this year. You can get the digital copy now with videos, exercises and certification exams here dunderdata.com/master-data-a…
2
9
862
I outline five simple steps for doing data exploration in a Jupyter Notebook. These will help you keep your notebook clean and exploration easy to follow youtube.com/watch?v=rY1eJ90j…
2
5
570
I'm hosting a live in-person Introduction to Python at The Ion in Houston this evening at 6 pm. Come out and get introduced to the most popular programming language today! meetup.com/houston-data-scie…
2
590
Interested in learning how to install Python? Here's my new video series on doing so with Anaconda youtube.com/playlist?list=PL…
1
6
1,005
Trying to style a pandas DataFrame containing floats only to find out pandas adds unnecessary zeros?!? Use the stlyle.format method setting the precision parameter.
1
15
1,628