🌐
Python documentation
docs.python.org › 3 › tutorial › datastructures.html
5. Data Structures — Python 3.14.3 documentation
We saw that lists and strings have many common properties, such as indexing and slicing operations. They are two examples of sequence data types (see Sequence Types — list, tuple, range). Since Python is an evolving language, other sequence data types may be added.
🌐
W3Schools
w3schools.com › python › python_lists.asp
Python Lists
List is a collection which is ordered and changeable. Allows duplicate members. Tuple is a collection which is ordered and unchangeable. Allows duplicate members. Set is a collection which is unordered, unchangeable*, and unindexed.
🌐
Python
docs.python.org › 3 › library › collections.html
collections — Container datatypes — Python 3.14.3 documentation
The instance’s contents are kept in a regular list, which is accessible via the data attribute of UserList instances. The instance’s contents are initially set to a copy of list, defaulting to the empty list []. list can be any iterable, for example a real Python list or a UserList object.
🌐
Reddit
reddit.com › r/learnpython › is there a better list of all python data structures and its up-to-date methods?
r/learnpython on Reddit: Is there a better list of all Python data structures and its up-to-date methods?
September 15, 2021 -

I find the one listed from the official Python documentation doesn't do a good job at highlighting all of the methods used in the supported data structures:

https://docs.python.org/3/tutorial/datastructures.html

It lists all the methods for the list data structure, which is nice, but then it changes up its flow later for the rest of the other data structures, and starts discussing in-depth about particular features of those data structures.

Also, it's not up to date. As of 3.9, Python introduced merge and union methods to dictionaries. The link above does not reference any of that.

Ideally, as much crap as w3schools has gotten in the past, they are able to display all the data structures, its methods, and a brief description in a very streamlined and condense manner.

Examples:

https://www.w3schools.com/python/python_ref_dictionary.asp

https://www.w3schools.com/python/python_ref_list.asp

https://www.w3schools.com/python/python_ref_string.asp

https://www.w3schools.com/python/python_ref_tuple.asp

https://www.w3schools.com/python/python_ref_set.asp

Is there a better site that lists all the up-to-date methods for Python data structures?

Thanks

🌐
Raspberry Pi
raspberrypi.com › documentation › computers › os.html
Raspberry Pi OS - Raspberry Pi Documentation
The list should be much shorter than the list of packages installed in your system Python. You can now safely install packages with pip. Any packages you install with pip while in a virtual environment only install to that virtual environment.
🌐
Python Reference
python-reference.readthedocs.io › en › latest › docs › comprehensions › list_comprehension.html
[] list comprehension — Python Reference (The Right Way) 0.1 documentation
Returns a list based on existing iterables · A list comprehension follows the form of the mathematical set-builder notation (set comprehension) as distinct from the use of map() and filter() functions
🌐
Python documentation
docs.python.org › 3 › library › functions.html
Built-in Functions — Python 3.14.3 documentation
1 week ago - For example, delattr(x, 'foobar') is equivalent to del x.foobar. name need not be a Python identifier (see setattr()). ... Create a new dictionary. The dict object is the dictionary class. See dict and Mapping Types — dict for documentation about this class. For other containers see the built-in list, set, and tuple classes, as well as the collections module.
🌐
LabEx
labex.io › home › builtin › list
Python list() built-in function - Python Cheatsheet
Rather than being a function, list is actually a mutable sequence type, as documented in Lists and Sequence Types — list, tuple, range. In Python, list is not a function but a built-in mutable sequence type. This means it’s a data structure ...
Find elsewhere
🌐
Python documentation
docs.python.org › 3 › library › stdtypes.html
Built-in Types — Python 3.14.3 documentation
1 week ago - Python’s generators provide a convenient way to implement the iterator protocol. If a container object’s __iter__() method is implemented as a generator, it will automatically return an iterator object (technically, a generator object) supplying the __iter__() and __next__() methods. More information about generators can be found in the documentation for the yield expression. There are three basic sequence types: lists...
🌐
Python 101
python101.pythonlibrary.org › chapter3_lists_dicts.html
Chapter 3 - Lists, Tuples and Dictionaries — Python 101 1.0 documentation
Python has several other important data types that you’ll probably use every day. They are called lists, tuples and dictionaries. This chapter’s aim is to get you acquainted with each of these data types. They are not particularly complicated, so I expect that you will find learning how ...
🌐
Twelve Data
twelvedata.com › docs
API Documentation - Twelve Data
Refer to the API Documentation for valid parameter values to resolve such errors. Twelve Data provides a growing ecosystem of libraries and integrations to help you build faster and smarter in your preferred environment. Official libraries are actively maintained by the Twelve Data team, while selected community-built libraries offer additional flexibility. A full list is available on our GitHub profile. Python: twelvedata-python ·
🌐
Claude API Docs
platform.claude.com › docs › en › agent-sdk › python
Agent SDK reference - Python - Claude API Docs
Create an in-process MCP server that runs within your Python application. def create_sdk_mcp_server( name: str, version: str = "1.0.0", tools: list[SdkMcpTool[Any]] | None = None ) -> McpSdkServerConfig
🌐
W3Schools
w3schools.com › python › python_ref_list.asp
Python List/Array Methods
Python has a set of built-in methods that you can use on lists/arrays.
🌐
Matplotlib
matplotlib.org › stable › gallery › color › named_colors.html
List of named colors — Matplotlib 3.10.8 documentation
Download Python source code: named_colors.py · Download zipped: named_colors.zip · Gallery generated by Sphinx-Gallery ·
🌐
Jinja
jinja.palletsprojects.com › en › stable › templates
Template Designer Documentation — Jinja Documentation (3.1.x)
Tuples are like lists that cannot be modified (“immutable”). If a tuple only has one item, it must be followed by a comma (('1-tuple',)). Tuples are usually used to represent items of two or more elements. See the list example above for more details. ... A dict in Python is a structure that combines keys and values.
🌐
Trey
intro2017.trey.io › 03
Lists — Hands-On Intro to Python documentation
Docs » · Lists · Lists¶ · List Basics · Your Turn: Lists 🏁 · List Exercises · More Lists · Getting Things From Lists · Modifying Lists
🌐
Pygame
pygame.org › docs
Pygame Front Page — pygame v2.6.0 documentation
A list of all functions, classes, and methods in the pygame package.
🌐
New York University
physics.nyu.edu › pine › pymanual › html › chap3 › chap3_arrays.html
3. Strings, Lists, Arrays, and Dictionaries — PyMan 0.9.31 documentation
The elements of lists and arrays are numbered consecutively, and to access an element of a list or an array, you simply refer to the number corresponding to its position in the sequence. The elements of dictionaries are accessed by “keys”, which can be either strings or (arbitrary) integers (in no particular order). Dictionaries are an important part of core Python.
🌐
MindMajix
mindmajix.com › blog › python › python list methods
Python List Methods | Documentation | MindMajix - 2025
List is one of the four collection data types in the Python programming language which is ordered and also changeable. It allows duplicate members too. Lists need not always be homogeneous thus making it one of the most powerful tools in Python.
🌐
Real Python
realpython.com › documenting-python-code
Documenting Python Code: A Complete Guide – Real Python
December 21, 2023 - """Gets and prints the spreadsheet's header columns @type file_loc: str @param file_loc: The file location of the spreadsheet @type print_cols: bool @param print_cols: A flag used to print the columns to the console (default is False) @rtype: list @returns: a list of strings representing the header columns """ Note: To learn more about docstrings and how to create them, check out How to Write Docstrings in Python. Python projects come in all sorts of shapes, sizes, and purposes. The way you document your project should suit your specific situation.