From the course: Advanced Python: Working With Data

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Using built-in functions

Using built-in functions

- [Instructor] We are going to start off by taking a look at some of the built-in functions that Python already has for working with data. And these are functions that you can just use out-of-the-box, without having to install any additional libraries or modules. Python provides basic functions for some very common operations related to working with data, such as the min and max functions, which identify the smallest and largest value in a given data set; the any and all functions, which can be used to determine whether any or all of the items in a data set match a certain criteria. Then there's the sum function, which as you've probably guessed, is a quick way to add up a set of data values. Then of course, there are the sorted and sort functions, which are used to sort data in a particular order. There's the filter function, which is used to selectively determine which values to remove and which ones to keep in a data…

Contents