約125件1ページ目

日本語のみで絞り込む

An OrderedSet is a mutable data structure that is a hybrid of a list and a set. It remembers the order of its entries, and every entry has an index number ...

This is an example of using a Dict to act like an OrderedSet - ordered, unique values. It's way cooler than the standard old `OrderedDict` type ...

An implementation of mutable and immutable ordered sets as thin wrappers around Python's dict class. These classes are meant as drop-in replacements for ...

Features. Works like a regular set, but remembers insertion order;; Is approximately 5 times faster than the pure Python implementation ...

A dead simple set that preserves insertion order, internally using the python's 3.7 dict, which preserves order. pip install ordered-set-37.

2021/12/24 -An ordered set would be a data structure which supports the set API, but additionally guarantees that elements keep some specified order ( ...

An OrderedSet is a mutable data structure that is a hybrid of a list and a set. It remembers its insertion order so that every entry has an index that can be ...

Overview ¶. Package orderedset implements a dynamic, insertion-ordered, set abstract data type. A set is an abstract data type that can store unique values.

2009/10/31 -An ordered set is functionally a special case of an ordered dictionary. The keys of a dictionary are unique. Thus, if one disregards the values ...