Data Analysis and Visualization Using Python: Data Analysis and Visualization Using Python for programmer by pasahye beryali & pasahye beryali

Data Analysis and Visualization Using Python: Data Analysis and Visualization Using Python for programmer by pasahye beryali & pasahye beryali

Author:pasahye, beryali & pasahye, beryali [pasahye, beryali]
Language: eng
Format: azw3
Publisher: UNKNOWN
Published: 2019-05-24T16:00:00+00:00


CHAPTER 3

Data Collection Structures

Lists, dictionaries, tuples, series, data frames, and panels are Python data collection structures that can be used to maintain a collection of data. This chapter will demonstrate these various structures in detail with practical examples.

Lists

A list is a sequence of values of any data type that can be accessed forward or backward. Each value is called an element or a list item. Lists are mutable, which means that you won’t create a new list when you modify a list element. Elements are stored in the given order. Various operations can be conducted on lists such as insertion, sort, and deletion. A list can be created by storing a sequence of different types of values separated by commas. A Python list is enclosed between a square brackets ([]), and elements are stored in the index based on a starting index of 0.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.