For Python beginners. You may be confused if you don't know the general term of the programming language Collection.

Overview

For Python beginners. You may be confused if you don't know the general term of the programming language Collection. I corresponded to that, so I will write about it.

A general term for the programming language Collection

Quote: https://en.wikipedia.org/wiki/Collection_(abstract_data_type)

In computer science, a collection or container is a grouping of some variable number of data items (possibly zero) that have some shared significance to the problem being solved and need to be operated upon together in some controlled fashion. Generally, the data items will be of the same type or, in languages supporting inheritance, derived from some common ancestor type. A collection is a concept applicable to abstract data types, and does not prescribe a specific implementation as a concrete data structure, though often there is a conventional choice (see Container for type theory discussion).

Examples of collections include lists, sets, multisets, trees and graphs.

In this sense, ** collection ** is not very familiar with Japanese. I see ** containers ** relatively.

Usually, collecition in Python.

If you search in the python collection, By all means

https://docs.python.org/ja/3/library/collections.html

Etc.,

collections --- container data type

It is drawn into the ** collections module ** of.

The explanation is

This module implements a special container data type that replaces the generic Python built-in containers dict, list, set, and tuple.

Something, as if dict, list, set You can read it as if it weren't a collection. .. .. This area is a typical example of a collection in ** programming terms. ** **

Summary

Nothing in particular. Just information sharing. I was a little misunderstood. If you have any comments, please let us know.

Recommended Posts

For Python beginners. You may be confused if you don't know the general term of the programming language Collection.
You will be an engineer in 100 days --Day 29 --Python --Basics of the Python language 5
You will be an engineer in 100 days --Day 33 --Python --Basics of the Python language 8
You will be an engineer in 100 days --Day 26 --Python --Basics of the Python language 3
You will be an engineer in 100 days --Day 32 --Python --Basics of the Python language 7
You will be an engineer in 100 days --Day 28 --Python --Basics of the Python language 4
Japan may be Galapagos in terms of programming language
The programming language you want to be able to use
How much do you know the basics of Python?
As you may know, Python can be written like this
[Python] The biggest weakness / disadvantage of Google Colaboratory [For beginners]
How to find if you don't know the Java installation directory
[AtCoder for beginners] A story about the amount of calculation that you want to know very roughly
Learn the basics of Python ① Beginners
Approach commentary for beginners to be in the top 1.5% (0.83732) of Kaggle Titanic_3
If you want a singleton in python, think of the module as a singleton
Python Note: When you want to know the attributes of an object
[Example of Python improvement] What is the recommended learning site for Python beginners?
Guidelines for reincarnating in the world of linux programming development (C / C ++ language)
You will be an engineer in 100 days ――Day 24 ―― Python ―― Basics of Python language 1
Approach commentary for beginners to be in the top 1.5% (0.83732) of Kaggle Titanic_1
You will be an engineer in 100 days ――Day 30 ―― Python ―― Basics of Python language 6
You will be an engineer in 100 days ――Day 25 ―― Python ―― Basics of Python language 2
Approach commentary for beginners to be in the top 1.5% (0.83732) of Kaggle Titanic_2
[Python] Wouldn't it be the best and highest if you could grasp the characteristics of a company with nlplot?