Skip to content

Category Archives: Python

Python for Machine Learning: Indexing and Slicing for Lists, Tuples, Strings, and other Sequential Types

25-May-20

List is arguably the most useful and ubiquitous type in Python. One of the reasons it’s so handy is Python slice notation. In short, slicing is a flexible tool to build new lists out of an existing list.

Python supports …