It’s good to have you here.

Photo by Jon Tyson on Unsplash
Table of Contents
1. About Me
2. Curated Collections
3. Trending Articles
4. Contact
5. Let’s Work Together

About Me

My name is Frank Andrade. I studied engineering and specialized in Data Science. I’m currently navigating the world of freelancing by writing articles about Data Science on Medium and making videos on my YouTube channels Lean Languages with TV and Python en Español. I believe it’s a great idea to apply the knowledge you have in different fields you love. …

Use the OS and Pathlib modules to automate tasks with Python.

Image by author (made on Canva)

One of the coolest things that you can do in Python without installing any third-party library is to perform file system operations such as creating a folder, renaming a file, and working with directories. Although these tasks can be easily done manually, you can automate them with Python code to save some time.

In this article, we’ll see 7 file system operations you can do in Python with the os and Pathlib modules. Each operation includes practical examples so you can understand the difference between these 2 modules.

1. Get Current Working Directory

Knowing the current working directory is fundamental when dealing with paths in…

Beginner and advanced projects that will help you level up your Python code

Photo by Danial Igdery on Unsplash

Learning Python can be difficult. You might spend a lot of time watching videos and reading books; however, if you can’t put all the concepts learned into practice, that time will be wasted.

This is why you should get your hands dirty with Python projects. A project will help you bring together everything you’ve learned, stay motivated, build a portfolio and come up with ways of approaching problems and solving them with code.

In this article, I listed some projects that helped me level up my Python code and hopefully will help you too. The projects are listed by difficulty…

You just need some lines of code to implement NLP techniques with Python.

Photo by Safar Safarov on Unsplash

Natural Language Processing (NLP) is focused on enabling computers to understand and process human languages. Computers are great at working with structured data like spreadsheets; however, much information we write or speak is unstructured.

The goal of NLP is to make computers understand unstructured texts and retrieve meaningful pieces of information from it. We can implement many NLP techniques with just a few lines of code of Python thanks to open-source libraries such as spaCy and NLTK.

In this article, we’ll learn the core concepts of 7 NLP techniques and how to easily implement them in Python.

Table of Contents

Sometimes Jupyter Notebook isn’t enough.

Photo by Andreas Forsberg on Unsplash

Jupyter Lab is known as Jupyter’s next-generation notebook interface. It integrates the notebook, console, text editor, and terminal into a single interactive and collaborative environment.

Apart from bringing the classical notebooks and text editor, Jupyter Lab also offers third-party extensions. As we’ve seen in a previous article, Jupyter Notebook only provides a limited number of native extensions; however, Jupyter Lab contains a robust and thriving third-party extension community. In this guide, I’ll show you 5 extensions that will make you think about switching to Jupyter Lab.

In case you’ve been using only Jupyter Notebooks and never heard of Jupyter Lab…

Two simple ways to create a Python executable file.

Image by author

Although running a Python script using the terminal or your favorite text editor is straightforward, there are some situations in which you will prefer to hide all the code written in the script (.py) inside an executable file (.exe).

Maybe you need to send the script to someone who doesn’t code at all or you might need to schedule a job that runs a .exe at a specific time on your computer. Whatever the situation, in this guide, I will show you 2 ways to create an executable file. …

Do this to avoid future problems when working with different projects in Python

Photo by JESHOOTS.COM on Unsplash

If you just started learning Python or have been writing Python code for many months, probably you have installed dozens of libraries on your computer. Although each library might be proof of a new Python skill acquired, if all those libraries are installed in the same environment they could break system tools or previous projects that have their own dependencies.

Every project might require its own unique set of third-party Python packages. This is why every time we start a new project we should set up a new virtual environment with a specific Python version and all dependencies for a…

Books that cover most of the stuff needed to be a data scientist

Stack of books
Stack of books
Photo by Daria Nepriakhina on Unsplash

Data science is a field many people have been talking about in the past years. Data scientists have been even called “the sexiest job of the 21st century,” however, there are many gray areas that make aspiring data scientists uncertain about what they need to learn to become data scientists.

This is why I have made a list of books I read when I was getting into data science. I recommend you read them if you’ve been dabbling in data science and would like to learn from scratch. …

Your first ML model in Python.

Photo by UliSchu on Pixabay

If you’re learning Python and would like to develop a machine learning model then a library that you want to seriously consider is scikit-learn. Scikit-learn (also known as sklearn) is a machine learning library used in Python that provides many unsupervised and supervised learning algorithms.

In this simple guide, we’re going to create a machine learning model that will predict whether a movie review is positive or negative. This is known as binary text classification and will help us explore the scikit-learn library while building a basic machine learning model from scratch. …

Essential extensions that will boost your productivity in Jupyter Notebook.

Photo by Max Duzij on Unsplash

Jupyter Notebook is the data scientists’ computational notebook of choice where you can create documents containing not only live code but also equations, visualizations, and text. However, by default, Jupyter Notebook lacks several useful features such as autocompletion, table of content, code folding, etc.

This is why I decided to make a list of useful Jupyter Notebook extensions that will make your life easier and increase your productivity when writing code. Below you can find all the extensions listed in this article.

Table of Contents
1. How to Install Extensions
2. Move selected cell
3. Enable autocompletion (Hinterland)
4. Shortcuts to run multiple cells…

Frank Andrade

Get my FREE Python for Data Science Cheat Sheet I use for all my tutorials [PDF] 👉

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store