The Python snippet collection contains helper functions for Python 3.6. It includes utilities for most common data types, such as primitivies, lists, dictionaries and date objects.
Converts a list of dictionaries into a list of values corresponding to the specified key
.
Python, List · Oct 22, 2020
Splits values into two groups, based on the result of the given filter
list.
Python, List · Nov 2, 2020
Finds the indexes of all elements in the given list that satisfy the provided testing function.
Python, List · Nov 2, 2020
Finds the index of the first element in the given list that satisfies the provided testing function.
Python, List · Nov 2, 2020
Finds the index of the last element in the given list that satisfies the provided testing function.
Python, List · Nov 2, 2020
Learn how Python's lists and tuples are different and level up your code today.
Python, List · Jun 12, 2021
Learn how to sort a Python dictionary list using a tuple key.
Python, List · Jan 4, 2023
Chunks a list into smaller lists of a specified size.
Python, List · Nov 2, 2020
Finds the value of the last element in the given list that satisfies the provided testing function.
Python, List · Nov 2, 2020
Finds the items that are parity outliers in a given list.
Python, List · Nov 2, 2020
Finds the value of the first element in the given list that satisfies the provided testing function.
Python, List · Nov 2, 2020