Matt Harrison(@__mharrison__) 's Twitter Profileg
Matt Harrison

@__mharrison__

Python 🐍 + Data Science 🚀 trainer @__metasnake__

🦜 Speaker
✍ Author
👨‍🏫 Instructor (@Stanford)
📣 DM for Sponsorship

ID:103961836

linkhttp://store.metasnake.com/ calendar_today11-01-2010 20:33:28

26,7K Tweets

157,9K Followers

890 Following

Matt Harrison(@__mharrison__) 's Twitter Profile Photo

Here's a nice Python parlor trick, swap two variables:

first = '🐥'
second = '🥚'
first, second = second, first

account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

One gripe I have with Pandas is automatic conversion of the index to categories for bar plots.

Here's my code to get around this.

linkedin.com/learning/getti…

One gripe I have with Pandas is automatic conversion of the index to categories for bar plots. Here's my code to get around this. linkedin.com/learning/getti…
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

I'm still convinced the easiest way to use the Matplotlib library is through Pandas.

Once you learn how to create plots, you can explore and answer questions with ease.

linkedin.com/learning/getti…

I'm still convinced the easiest way to use the Matplotlib library is through Pandas. Once you learn how to create plots, you can explore and answer questions with ease. linkedin.com/learning/getti…
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

This is an unpopular opinion. 😬

In business, you typically have to spend money to make money. That makes sense.

This is an unpopular opinion. 😬 In business, you typically have to spend money to make money. That makes sense.
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

Pandas tip 🐼🤓

Sometimes you want to get all of the values for each category, but there might be a different amount for each category.

This example shows each recorded daily snowfall for every month.

Combine .pivot with .apply! 🤯🐼

Pandas tip 🐼🤓 Sometimes you want to get all of the values for each category, but there might be a different amount for each category. This example shows each recorded daily snowfall for every month. Combine .pivot with .apply! 🤯🐼
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

I'm still convinced the easiest way to use the Matplotlib library is through Pandas.

Once you learn how to create plots, you can explore and answer questions with ease.

linkedin.com/learning/getti…

I'm still convinced the easiest way to use the Matplotlib library is through Pandas. Once you learn how to create plots, you can explore and answer questions with ease. linkedin.com/learning/getti…
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

Learning about lambdas and .pipe will give you an instant boost with Pandas.

In my LinkedIn Learning Finance course, I show how to make an efficient cumulative returns calculation.

linkedin.com/learning/getti…

Learning about lambdas and .pipe will give you an instant boost with Pandas. In my LinkedIn Learning Finance course, I show how to make an efficient cumulative returns calculation. linkedin.com/learning/getti…
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

Learning about lambdas and .pipe will give you an instant boost with Pandas.

In my LinkedIn Learning Finance course, I show how to make an efficient cumulative returns calculation.

linkedin.com/learning/getti…

Learning about lambdas and .pipe will give you an instant boost with Pandas. In my LinkedIn Learning Finance course, I show how to make an efficient cumulative returns calculation. linkedin.com/learning/getti…
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

PyCon is a few weeks away.

I'll be there. If you want to have valuable swag that folks actually want, reach out, and we can do a book signing in your booth. Folks will be lined up.

(I have books about Python, XGBoost, Pandas, and Polars)

PyCon is a few weeks away. I'll be there. If you want to have valuable swag that folks actually want, reach out, and we can do a book signing in your booth. Folks will be lined up. (I have books about Python, XGBoost, Pandas, and Polars)
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

My Getting Started with Python for Finance course on LinkedIn is a great example of how to write real-world Pandas code.

Here's an example of creating candlestick charts

linkedin.com/learning/getti…

My Getting Started with Python for Finance course on LinkedIn is a great example of how to write real-world Pandas code. Here's an example of creating candlestick charts linkedin.com/learning/getti…
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

I have a few courses available on the LinkedIn Learning platform. (With more to come.)

See linkedin.com/learning/searc…

I have a few courses available on the LinkedIn Learning platform. (With more to come.) See linkedin.com/learning/searc…
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

Pandas allows you to pass in strings to the .agg method.

I don't know where these are documented other than my book Effective Pandas 2.

Pandas allows you to pass in strings to the .agg method. I don't know where these are documented other than my book Effective Pandas 2.
account_circle
Matt Harrison(@__mharrison__) 's Twitter Profile Photo

My XGBoost book has a hardcover version.

It looks really nice, but it seems that most folks prefer a digital or soft cover version.

My XGBoost book has a hardcover version. It looks really nice, but it seems that most folks prefer a digital or soft cover version.
account_circle