IRMA-International.org: Creator of Knowledge
Information Resources Management Association
Advancing the Concepts & Practices of Information Resources Management in Modern Organizations

Exploring Python's Powerful Data Collections

Exploring Python's Powerful Data Collections
View Sample PDF
Author(s): Mastan Vali Shaik (University of Technology and Applied Sciences, Ibri, Oman)and Rajasrkaran Selvaraju (University of Technology and Applied Sciences, Ibri, Oman)
Copyright: 2023
Pages: 20
Source title: Advanced Applications of Python Data Structures and Algorithms
Source Author(s)/Editor(s): Mohammad Gouse Galety (Department of Computer Science, Samarkand International University of Technology, Uzbekistan), Arul Kumar Natarajan (Samarkand International University of Technology, Uzbekistan)and A. V. Sriharsha (MB University, India)
DOI: 10.4018/978-1-6684-7100-5.ch008

Purchase

View Exploring Python's Powerful Data Collections on the publisher's website for pricing and purchasing information.

Abstract

One of the powerful data types for programmers that a Python supports is a list. A list is a mutable data structure that holds an ordered collection of items. Lists are useful to work with related data. A tuple is an immutable data type that stores values in a sequence. Slicing can be used to get a range of items. In Python, a set is variable that can store a variety of data, and different data types perform different operations. A set data type in Python is used to store multiple values in a single variable. In Python, dictionary is one of the built-in data types where elements are key: value pairs. In other programming languages, these are called associative memory or associative arrays. Dictionaries are faster in execution, provide easy lookups, and are implemented as hash tables. This chapter focuses on data collection in Python.

Related Content

Rashmi Gupta, Jeetendra Kumar, Suvarna Sharma. © 2026. 32 pages.
Yashodeep Bharat Deshmukh, Abhishek Mukhopadhyay. © 2026. 42 pages.
Suriya Murugan, Anandakumar Haldorai. © 2026. 20 pages.
Meetu Malhotra, Rahul Awasthy. © 2026. 34 pages.
Ismail Lamaakal, Bentaleb Youssef, Yassine Maleh, Ibrahim Ouahbi, Khalid El Makkaoui. © 2026. 34 pages.
Muthmainnah Muthmainnah, Besse Darmawati, Abd. Rasyid, Sutejo Sutejo, Sri Haryatmo, Nurweni Saptawuryandari, Ahmad Al Yakin, Ismail Lamaakal. © 2026. 28 pages.
Wasswa Shafik. © 2026. 32 pages.
Body Bottom