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 –

You're reading a preview, sign up to read more.

More from APC

APC1 min readTechnology & Engineering
Samsung Has Troubles Restarting Texas Fab
Samsung Foundry, Infineon Technologies, and NXP Semiconductors have not yet restarted operating their fabs in Austin, Texas, as they need time to clean them up and configure them again. The idling fabs will further contribute to the ongoing global sh
APC2 min readComputers
Hello GPU Shortages, Again
JARRED WALTON Jarred Walton has been a PC and gaming enthusiast for over 30 years. Last year’s deluge of graphics card launches felt like a good thing. Ampere brought new levels of performance from Nvidia, and AMD closed the gap with its RDNA2 GPUs.
APC4 min readSecurity
Bitwarden vs LastPass
Bitwarden needs (for desktop app): CPU: 64bit dual-core RAM: 4GB | Free for personal use | bitwarden.com LastPass runs on any PC that can run a supported browser | Free for personal use | lastpass.com Password managers are, we think, generally a goo