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
:
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 readingHow 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.