Best 15+ Machine Learning Cheat Sheets to Pin to Your Toilet Wall

Toilet Wall Cheat Sheet

This article compiles for you the 15 best cheat sheets in the web that help you get started with machine learning. If you’re short on time, here are the 15 direct PDF links (open in a new tab): Supervised Learning (Afshine Amidi) Unsupervised Learning (Afshine Amidi) Deep Learning (Afshine Amidi) Machine Learning Tips and Tricks … Read more

They Use These 15+ Python Interview Questions To Fail You … (And What You Can Do About It)

Fear Your Coding Interview? This article shows you how to make your coding interview a success. General Tips to Prepare Your Interview Watch Google Interview tips. Read Prof. Philip Guo’s tips. Practice coding in Google Docs. Don’t use a code highlighting editor for your training time. Solve at least 50+ code puzzles. And most importantly: … Read more

How to Become a Python Freelancer—and Earn $1,000 on the Side? [A Step-by-Step Tutorial]

Pyhton Freelancer

Do you want to earn money as a Python freelancer? But you just start out learning Python? This article leads you step-by-step through the adventure of becoming a Python freelancer. Learn about the exact steps you need to do to become a Python freelancer – starting out as a Python newbie. Without losing any time, let’s dive into the 7 steps of becoming a Python freelancer.

Python Find in List [Ultimate Guide]

When Google was founded in 1998, Wallstreet investors laughed at their bold vision of finding data efficiently in the web. Very few people actually believed that finding things can be at the heart of a sustainable business – let alone be a long-term challenge worth pursuing. We have learned that searching – and finding – … Read more

Python | Split String by List of Indices

Summary: There are three different ways to split a given string by the list of indices:🍎 Slice Within a For loop 🍎 Use zip and then Slice 🍎 Use zip_longest and then Slice Minimal Example Problem Formulation 🚀Problem: Given a string; How will you split the string by a list of indices? Example The start … Read more

Creating an Advent Calendar App in Python with AI Image Creation

This blog describes a fun mini Python project using AI image creation for creating artwork for an advent calendar implemented using PyGame. Context It’s December 1st, and my daughter has just opened the first door on her physical advent calendar, counting down the days of the festival of general consumerism that some people call Christmas. … Read more

Python | Split String and Get First N Characters

⭐Summary: To get the first “N” characters of a string slice, the string from the starting index until the Nth character using Python’s slice notation. Minimal Example Problem Formulation 📜Problem: Given a string. How will you get the first “N” characters of the string? Example 1 In the following example, you just have to extract … Read more

Python | Split String Keep First

🍎Summary: Use given_string.split(‘sep’, 1)[0] to split the string and get the last element. Another approach is to use given_string.partition(‘sep’, 1)[0] Minimal Example Problem Formulation 📜Problem: Given a string. How will you split the string and get the first element? Let’s try to understand the given problem with the help of a couple of examples. Example 1 In the above … Read more

How to Be More Productive as a Coder (Collection)

Over the years, I received thousands of emails from Finxters who are interested in a list of my “best” posts that concern the business and productivity side of computer scientists and programmers. The following list is a curated list of the productivity related articles on the Finxter blog, ordered by recency: 👇

[Fixed] ModuleNotFoundError: No module named ‘google’

Do you encounter this frustrating error when trying out the Google API using your Python code snippet? This documents some possible fixes – I hope you’ll find the one that works for you! Quick Fix: Python raises the ImportError: No module named ‘googleapiclient’ when it cannot find the library google-api-python-client. The most frequent source of … Read more

Python | Split String Key Value

Summary: There are three different ways to split the given string into keys and values: Minimal Example Problem Formulation Problem: Given a string containing key-value pairs. How will you split the string to get the key-value pairs? Example You have to split the string given in the problem below using the delimiter “:” in such … Read more

Python | Split String Space

⭐Summary: Use “given string”.split(‘ ‘) to split the given string by space and store each word as an individual item in a list. Some other ways to split using space include using a list comprehension and the regex library. Minimal Example Problem Formulation 📜Problem: Given a string, how will you split the string into a … Read more

Python | Split String Carriage Return

⭐Summary: The most efficient way to split a string at carriage return (“\r”) is to use the split function like so given_string.split(). An alternate approach is to use different functions of the regex package to split the string at multiple whitespaces. Minimal Example Problem Formulation 📜Problem: Given a string. How will you split the string at carriage return? … Read more