<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Python-datastructures</id>
	<title>Python-datastructures - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Python-datastructures"/>
	<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Python-datastructures&amp;action=history"/>
	<updated>2026-04-27T18:31:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://www.marcelpost.com/wiki/index.php?title=Python-datastructures&amp;diff=3482&amp;oldid=prev</id>
		<title>Admin at 03:29, 23 December 2020</title>
		<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Python-datastructures&amp;diff=3482&amp;oldid=prev"/>
		<updated>2020-12-23T03:29:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;quot;In computer science, a data structure is a data organization, management, and storage format that enables efficient access and modification. More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
-- source: Wikipedia&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Python knows how to work with of several types of data structures without the need to import additional libraries. Sometimes you do need to import a library to provide support (e.g. json, csv, sql) but most of these are already available when you have python installed. In rare cases you may need to build or acquire a third-party library for data structure support.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In these pages we mainly look at the most common data structures in python:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;background-color:#f9f9f9;&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|style=&amp;quot;background-color:#f2f2f2;&amp;quot;|&amp;lt;b&amp;gt;Name&amp;lt;/b&amp;gt;&lt;br /&gt;
|style=&amp;quot;background-color:#f2f2f2;&amp;quot;|&amp;lt;b&amp;gt;Examples&amp;lt;/b&amp;gt;&lt;br /&gt;
|style=&amp;quot;background-color:#f2f2f2;&amp;quot;|&amp;lt;b&amp;gt;Details&amp;lt;/b&amp;gt;&lt;br /&gt;
|style=&amp;quot;background-color:#f2f2f2;&amp;quot;|&amp;lt;b&amp;gt;Characteristic&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|[[Tuple]]&lt;br /&gt;
|(&amp;#039;January&amp;#039;, &amp;#039;February&amp;#039;, &amp;#039;March&amp;#039;, &amp;#039;April&amp;#039;, &amp;#039;May&amp;#039;)&lt;br /&gt;
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29)&lt;br /&gt;
|Once set, values cannot be changed&lt;br /&gt;
Referenced with index&lt;br /&gt;
|surrounded by one single open and closed parenthesis&lt;br /&gt;
elements separated by a comma&lt;br /&gt;
&lt;br /&gt;
Strings are enclosed by apostrophes or quotes&lt;br /&gt;
|-&lt;br /&gt;
|[[python-lists|List]]&lt;br /&gt;
|[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]&lt;br /&gt;
[&amp;#039;red&amp;#039;, &amp;#039;green&amp;#039;, &amp;#039;orange&amp;#039;, &amp;#039;blue&amp;#039;]&lt;br /&gt;
|Values can be modified, added, deleted&lt;br /&gt;
Referenced with index&lt;br /&gt;
|surrounded by one single open and closed square bracket&lt;br /&gt;
elements separated by a comma&lt;br /&gt;
&lt;br /&gt;
Strings are enclosed by apostrophes or quotes&lt;br /&gt;
|-&lt;br /&gt;
|[[Dictionary]]&lt;br /&gt;
|{&amp;#039;Joe&amp;#039;:02079343, &amp;#039;Alice&amp;#039;:010534045, &amp;#039;Bob&amp;#039;:01084523}&lt;br /&gt;
{&amp;#039;x&amp;#039;:234, &amp;#039;y&amp;#039;:345, &amp;#039;z&amp;#039;:456}&lt;br /&gt;
|Values can be modified, added, deleted&lt;br /&gt;
Referenced with a key&lt;br /&gt;
|surrounded by one single open and closed curly brace&lt;br /&gt;
elements separated by a comma&lt;br /&gt;
&lt;br /&gt;
each element contains one key and one value&lt;br /&gt;
&lt;br /&gt;
key and value are separated by a colon&lt;br /&gt;
&lt;br /&gt;
key maybe a string or a number&lt;br /&gt;
&lt;br /&gt;
strings (key or value) are enclosed by quotes&lt;br /&gt;
&lt;br /&gt;
keys must be unique&lt;br /&gt;
|-&lt;br /&gt;
|[[Set]]&lt;br /&gt;
|([1029, 1238, 7821, 4312, 2716])&lt;br /&gt;
|Once set, values cannot be modified&lt;br /&gt;
Set values can be added and removed&lt;br /&gt;
&lt;br /&gt;
Set may only contain unique values&lt;br /&gt;
&lt;br /&gt;
Unordered&lt;br /&gt;
|single square brackets surrounded by single parenthesis&lt;br /&gt;
elements separated by a comma&lt;br /&gt;
&lt;br /&gt;
strings are enclosed by apostrophes or quotes&lt;br /&gt;
|-&lt;br /&gt;
|[[json]]&lt;br /&gt;
|[{ &amp;quot;first&amp;quot;: &amp;quot;Joe&amp;#039;, &amp;quot;hobbies&amp;quot;: &amp;quot;swimming, running&amp;quot; }&lt;br /&gt;
{ &amp;quot;first&amp;quot;: &amp;quot;Carol&amp;#039;, &amp;quot;hobbies&amp;quot;: &amp;quot;cycling, climbing&amp;quot; }]&lt;br /&gt;
&lt;br /&gt;
|Values can be modified, added, deleted&lt;br /&gt;
Referenced with a key&lt;br /&gt;
|surrounded by one single open and closed curly brace (1x record)&lt;br /&gt;
multiple records surrounded by one single square open and close bracket&lt;br /&gt;
&lt;br /&gt;
records surrounded by curly braces&lt;br /&gt;
&lt;br /&gt;
record elements separated by a comma&lt;br /&gt;
&lt;br /&gt;
each element contains one key and one value&lt;br /&gt;
&lt;br /&gt;
key and value are separated by a colon&lt;br /&gt;
&lt;br /&gt;
keys surrounded by double quotes&lt;br /&gt;
&lt;br /&gt;
strings are enclosed by apostrophes or quotes&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[[csv]]&lt;br /&gt;
|silver,32423,joe bloggs,&amp;quot;8,5&amp;quot;,023-32425634,,,type=1,f&lt;br /&gt;
|once set, values cannot be modified&lt;br /&gt;
|elements separated by a comma&lt;br /&gt;
&lt;br /&gt;
one record per line&lt;br /&gt;
&lt;br /&gt;
elements enclosed by quotes if string contains a comma&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>