Hi Reader,
Soon it will be winter break for my 6-year-old, so this is going to be my last Tuesday Tip of the year! β
If you've ever taken one of my courses, you may have noticed that I frequently recommend the Anaconda distribution of Python.
You might be left wondering:
I'll answer those questions below! π
βAnaconda is a Python distribution aimed at data scientists that includes 250+ packages (with easy access to 7,500+ additional packages). Its value proposition is that you can download it (for free) and "everything just works." It's available for Mac, Windows, and Linux.
A new Anaconda distribution is released a few times a year. Within each distribution, the versions of the included packages have all been tested to work together.
If you visit the installation page for many data science packages (such as pandas), they recommend Anaconda because it makes installation easy!
βconda is an open source package and environment manager that comes with Anaconda.
As a package manager, you can use conda to install, update, and remove packages and their "dependencies" (the packages they depend upon):
As an environment manager, you can use conda to manage virtual environments:
conda has a few huge advantages over other tools:
βMiniconda is a Python distribution that only includes Python, conda, their dependencies, and a few other useful packages.
Miniconda is a great choice if you prefer to only install the packages you need, and you're sufficiently familiar with conda. (Here's how to choose between Anaconda and Miniconda.)
Personally, I make extensive use of conda for creating environments and installing packages. And since I'm comfortable with conda, I much prefer Miniconda over Anaconda.
Would you be interested in taking a short course about conda? Reply and let me know! π
If you enjoyed this weekβs tip, please forward it to a friend! Takes only a few seconds, and it really helps me reach more people!
I'll see you again in January! π
- Kevin
P.S. Christmas decorating injuries π
Did someone awesome forward you this email? Sign up here to receive Data Science tips every week!
Join 25,000+ aspiring Data Scientists and receive Python & Data Science tips every Tuesday!
Hi Reader, Next week, Iβll be offering a Black Friday sale on ALL of my courses. Iβll send you the details this Thursday! π¨ π Tip #50: What is a "method" in Python? In Python, a method is a function that can be used on an object because of the object's type. For example, if you create a Python list, the "append" method can be used on that list. All lists have an "append" method simply because they are lists: If you create a Python string, the "upper" method can be used on that string simply...
Hi Reader, I appreciate everyone who has emailed to check on me and my family post-Helene! It has been more than 6 weeks since the hurricane, and most homes in Asheville (mine included) still don't have clean, running water. We're hopeful that water service will return within the next month. In the meantime, we're grateful for all of the aid agencies providing free bottled water, free meals, places to shower, and so much more. β€οΈ Thanks for allowing me to share a bit of my personal life with...
Hi Reader, Regardless of whether you enrolled, thanks for sticking with me through the launch of my new course! π I've already started exploring topics for the next course... π π Link of the week git cheat sheet (PDF) A well-organized and highly readable cheat sheet from Julia Evans, the brilliant mind behind Wizard Zines! π Tip #48: Three ways to set your environment variables in Python I was playing around with Mistral LLM this weekend (via LangChain in Python), and I needed to set an...