APC

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.

LISTS 101

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

You’re reading a preview, subscribe to read more.

More from APC

APC3 min read
Hold A Conversation With AI
As a naturally shy person, I always feel self-conscious when talking to machines. If I get transferred to somebody’s voicemail, I either hang up as soon as I hear the beep or gabble a barely intelligible message like “callmeback whenyou getachancetha
APC16 min read
AUSTRALIAN PC AWARDS 2024 And The Winners Are…
The time has come for the big reveal – as we announce the 2024 winners across all categories of the Australian PC Awards! After exhaustive testing, comparisons, benchmarking and taking into account value, innovation, quality and features, we have our
APC5 min read
Skype vs Teams
SKYPE | PRICE Free WEB www.skype.com TEAMS | PRICE Free/$9 per month WEB www.microsoft.com Two apps that do the same thing, owned by the same company, that run on the same platforms and are even interoperable. It may seem strange that one hasn’t bee

Related