© Valentina Porcu 2018
Valentina PorcuPython for Data Mining Quick Syntax Referencehttps://doi.org/10.1007/978-1-4842-4113-4_6

6. Other Basic Concepts

Valentina Porcu1 
(1)
Nuoro, Italy
 

In this chapter, we learn about some important programming concepts (such as modules and methods), list comprehension and class creation, regular expressions, and management of errors and exceptions.

Object-oriented Programming

As mentioned, Python is an object-oriented programming language, so let’s look at some basic concepts of object-oriented programming. Some important concepts are
  • Objects

  • Classes

  • Inheritance

More on Objects

Objects are all the data structures we have created, from smaller ones containing only a single number to larger ones containing large datasets. ...

Get Python for Data Mining Quick Syntax Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.