per page, with , order by , clip by
Results of 1 - 10 of about 42 for iterables (0.008 sec.)
itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 14229
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効 ... complete batch' ) yield batch Added in version 3.12. バージョン 3.13 で変更: Added the strict option. itertools. chain ( * iterables ) ¶ Make an iterator that returns elements from the first iterable until it is exhausted , then proceeds to the next itera ... ble, until all of the iterables are exhausted. This combines multiple data sources into a single iterator. Roughly equivalent to: def chain ( * iterables ... ): # chain('ABC', 'DEF') → A B C D E F for iterable in iterables : yield from iterable classmethod chain. from_iterable ( iterable ) ¶ chain() のためのもう一つのコンストラクタです。遅延評 ...
https://man.mtool.work/python/3.14/library/itertools.html
itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 13966
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効 ... complete batch' ) yield batch Added in version 3.12. バージョン 3.13 で変更: Added the strict option. itertools. chain ( * iterables ) ¶ Make an iterator that returns elements from the first iterable until it is exhausted , then proceeds to the next itera ... ble, until all of the iterables are exhausted. This combines multiple data sources into a single iterator. Roughly equivalent to: def chain ( * iterables ... ): # chain('ABC', 'DEF') → A B C D E F for iterable in iterables : yield from iterable classmethod chain. from_iterable ( iterable ) ¶ chain() のためのもう一つのコンストラクタです。遅延評 ...
https://man.mtool.work/python/3.14/library/itertools.html
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 9491
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... ( max_workers = 1 ) as executor : future = executor . submit ( pow , 323 , 1235 ) print ( future . result ()) map ( fn , * iterables , timeout = None , chunksize = 1 , buffersize = None ) ¶ Similar to map(fn, *iterables) except: The iterables are collecte ... to limit the number of submitted tasks whose results have not yet been yielded. If the buffer is full, iteration over the iterables pauses until a result is yielded from the buffer. fn is executed asynchronously and several calls to fn may be made concur ... 外を送出した場合、その例外はイテレータから値を受け取る時に送出されます。 When using ProcessPoolExecutor , this method chops iterables into a number of chunks which it submits to the pool as separate tasks. The (approximate) size of these chunks can be spec ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
concurrent.futures --- 並列タスク実行 — Python 3.14.8 ドキュメント 9088
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » concurrent.futures --- 並列タスク実行 テーマ 自動 ライト ダーク | concurrent.futures --- 並列タスク実行 ¶ Added in versi ... ( max_workers = 1 ) as executor : future = executor . submit ( pow , 323 , 1235 ) print ( future . result ()) map ( fn , * iterables , timeout = None , chunksize = 1 , buffersize = None ) ¶ Similar to map(fn, *iterables) except: The iterables are collecte ... to limit the number of submitted tasks whose results have not yet been yielded. If the buffer is full, iteration over the iterables pauses until a result is yielded from the buffer. fn is executed asynchronously and several calls to fn may be made concur ... 外を送出した場合、その例外はイテレータから値を受け取る時に送出されます。 When using ProcessPoolExecutor , this method chops iterables into a number of chunks which it submits to the pool as separate tasks. The (approximate) size of these chunks can be spec ...
https://man.mtool.work/python/3.14/library/concurrent.futures.html
Thread Safety Guarantees — Python 3.14.8 ドキュメント 8268
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui ... eated which can be concurrently modified by another thread. The same applies to inplace concatenation of a list with other iterables when using lst += iterable . Similarly, assigning to a list slice with lst[i:j] = iterable is safe to call from multiple t ... other # other must be set/frozenset set.update() , set.union() , set.intersection() and set.difference() can take multiple iterables as arguments. They all iterate through all the passed iterables and do the following: set.update() and set.union() lock bo ...
https://man.mtool.work/python/3.14/builtins/threadsafety.html
Thread Safety Guarantees — Python 3.14.8 ドキュメント 8268
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui ... eated which can be concurrently modified by another thread. The same applies to inplace concatenation of a list with other iterables when using lst += iterable . Similarly, assigning to a list slice with lst[i:j] = iterable is safe to call from multiple t ... other # other must be set/frozenset set.update() , set.union() , set.intersection() and set.difference() can take multiple iterables as arguments. They all iterate through all the passed iterables and do the following: set.update() and set.union() lock bo ...
https://man.mtool.work/python/3.14/builtins/threadsafety.html
組み込み関数 — Python 3.14.8 ドキュメント 8005
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま ... うになりました。定義されただけで、その他のスコープの振る舞いは以前のバージョンのままです。 map ( function , iterable , / , * iterables , strict = False ) ¶ Return an iterator that applies function to every item of iterable , yielding the results. If additio ... nal iterables arguments are passed, function must take that many arguments and is applied to the items from all iterables in parallel. W ... ith multiple iterables, the iterator stops when the shortest iterable is exhausted . If strict is True and one of the iterables is exhausted befo ...
https://man.mtool.work/python/3.14/builtins/functions.html
組み込み関数 — Python 3.14.8 ドキュメント 8005
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み関数 テーマ 自動 ライト ダーク | 組み込み関数 ¶ Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できま ... うになりました。定義されただけで、その他のスコープの振る舞いは以前のバージョンのままです。 map ( function , iterable , / , * iterables , strict = False ) ¶ Return an iterator that applies function to every item of iterable , yielding the results. If additio ... nal iterables arguments are passed, function must take that many arguments and is applied to the items from all iterables in parallel. W ... ith multiple iterables, the iterator stops when the shortest iterable is exhausted . If strict is True and one of the iterables is exhausted befo ...
https://man.mtool.work/python/3.14/builtins/functions.html
リストオブジェクト — Python 3.14.8 ドキュメント 7865
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » リストオブジェクト テーマ 自動 ライト ダーク | リストオブジェクト ¶ type PyListObject ... -threaded build , when itemlist is a list , both list and itemlist are locked for the duration of the operation. For other iterables (or NULL ), only list is locked. int PyList_Extend ( PyObject * list , PyObject * iterable ) ¶ Thread safety: Safe for con ... ct , or dict view, both list and iterable (or its underlying dict) are locked for the duration of the operation. For other iterables, only list is locked; iterable may be concurrently modified by another thread. int PyList_Clear ( PyObject * list ) ¶ Thre ...
https://man.mtool.work/python/3.14/c-api/list.html
heapq --- ヒープキューアルゴリズム — Python 3.14.8 ドキュメント 7865
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » heapq --- ヒープキューアルゴリズム テーマ 自動 ライト ダーク | heapq --- ヒープキューアルゴリズム ¶ ソースコード: Lib/he ... ailed usage notes. Added in version 3.14. このモジュールではさらに3つのヒープに基く汎用関数を提供します。 heapq. merge ( * iterables , key = None , reverse = False ) ¶ 複数のソートされた入力をマージ(merge)して一つのソートされた出力にします (たとえば、複数 ... のログファイルの時刻の入ったエントリーをマージします)。ソートされた値にわたる iterator を返します。 sorted(itertools.chain(*iterables)) と似ていますが、イテレータを返し、一度にはデータをメモリに読み込まず、それぞれの入力ストリームが予め(最小から最大へ)ソー ... 。 reverse は真偽値です。 True を設定した場合、挿入要素は逆向きに比較されたかのように結合されます。 sorted(itertools.chain(*iterables), reverse=True) でこれに似た挙動を実現するには、全てのイテラブルは降順で並んでいなければなりません。 バージョン 3.5 で変更 ...
https://man.mtool.work/python/3.14/library/heapq.html
PREV 1 2 3 4 5 NEXT