Skip to content

Become a Python Engineer

Learn about Python and Machine Learning with free tutorials.

馃殌 Check out the blog!

馃殌 Take one of the free courses!

馃殌 Watch Tutorials on YouTube!

Created by Patrick Loeber.


Free NumPy Handbook

Join our Discord


Latest Posts

How to split a List into equally sized chunks in Python

Learn different ways you can use to split a List into equally sized chunks in Python.


Learn different ways you can use to split a List into equally sized chunks in Python.

The following methods can be used to batch data from an iterable into lists or tuples of equal length n:

Continue reading

How to delete a key from a dictionary in Python

Learn how you can remove a key from a dictionary in Python.


This article shows how you can remove a key from a dictionary in Python.

To delete a key, you can use two options:

  • Using del my_dict['key']
  • Using my_dict.pop('key', None)

Let's look at both options in detail:

Continue reading

How to convert a Google Colab to Markdown

Learn how to you can convert a Google Colab to a Markdown file and download it.


Learn how to you can convert a Google Colab to a Markdown file and download it.

Colab only provides the options to download the file either as .ipynb or as .py file. But you can use this workaround to also download it as markdown file.

Continue reading

Explore All Posts