Data Structures
Here's a list of useful python libraries related to data structures:
- Collections - Collections is a built-in python library that provides useful data structures including: named tuples (tuples with named fields), deques (double-ended queues) which can be used to implement stacks and queues, and counters (dicts with cardinal-only values) which can be used to implement multisets.
- Heapq - Heapq is a built-in python library that provides a min-heap data structure, which is a type of binary tree in which every parent node has a value that is less than or equal to either of it's child nodes' values.
- NetworkX - NetworkX provides various graph data structures, including directed graphs, graphs with weighted edges, and multigraphs, that feature methods for network analysis.
- NumPy - Numpy provides a multidimensional array-type data structure that defaults to element-wise operations, and features methods for mathematical, logical, and structural manipulation. They are extremely efficient, and have a simple syntax too.
- Pandas - Pandas provides a 2D tabular data structure with labelled axes, and features methods for data analysis.