Working with lists in Python

When we began preparing to look at machine-learning in Python with our initial two-part primer a few issues ago, we very briefly touched on the concept of lists. Like a column in a spreadsheet, a list is an incredibly versatile and important component of Python for allowing you to access a sequence of data through a simple numeric index. This month, we’re unpacking lists in more detail and looking at how you can manipulate them in ways that make sense from a machine-learning perspective.


The majority of machine-learning algorithms rely on receiving data in a common flat or two-dimensional spreadsheet form –

Você está lendo uma amostra, registre-se para ler mais.

Mais de APC

APCLeitura de 1 mins
Free / $9.99 per month I might be taking a leap here, dear reader, but something tells me you don’t mind the odd magazine in your life. If my massive assumption is correct, then maybe you should look into this app called Readly. Readly is a magazine
APCLeitura de 2 minsComputers
“Sensing that preparation would be key to the success of using a Pi 4 as my main computer for a working week, I spent Sunday preparing the system. This meant installing software, checking printer access and confirming key online resources worked. Fea
APCLeitura de 1 mins
China’s Buying Used Chip-making Equipment
The U.S. imposed new sanctions on SMIC, the largest semiconductor manufacturer in China, in September 2020 to prevent it from purchasing new chip-making equipment. Used chip-making equipment sellers in Japan aren’t subject to those same restrictions,