per page, with , order by , clip by
Results of 1 - 10 of about 100 for Counter (0.034 sec.)
collections --- コンテナデータ型 — Python 3.14.8 ドキュメント 15123
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections --- コンテナデータ型 テーマ 自動 ライト ダーク | collections --- コンテナデータ型 ¶ ソースコード: Lib/collec ... 両端における append や pop を高速に行えるリスト風のコンテナ ChainMap 複数のマッピングの一つのビューを作成する辞書風のクラス Counter ハッシュ可能 なオブジェクトを数え上げる辞書のサブクラス OrderedDict 項目が追加された順序を記憶する辞書のサブクラス default ... ey one level down >>> d # display result DeepChainMap ({ 'zebra' : 'black' , 'snake' : 'red' }, {}, { 'lion' : 'orange' }) Counter オブジェクト ¶ 便利で迅速な検数をサポートするカウンタツールが提供されています。例えば: >>> # Tally occurrences of words in ... a list >>> cnt = Counter () >>> for word in [ 'red' , 'blue' , 'red' , 'green' , 'blue' , 'blue' ]: ... cnt [ word ] += 1 ... >>> cnt Counter({'blu ...
https://man.mtool.work/python/3.14/library/collections.html
collections --- コンテナデータ型 — Python 3.14.8 ドキュメント 15123
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » collections --- コンテナデータ型 テーマ 自動 ライト ダーク | collections --- コンテナデータ型 ¶ ソースコード: Lib/collec ... 両端における append や pop を高速に行えるリスト風のコンテナ ChainMap 複数のマッピングの一つのビューを作成する辞書風のクラス Counter ハッシュ可能 なオブジェクトを数え上げる辞書のサブクラス OrderedDict 項目が追加された順序を記憶する辞書のサブクラス default ... ey one level down >>> d # display result DeepChainMap ({ 'zebra' : 'black' , 'snake' : 'red' }, {}, { 'lion' : 'orange' }) Counter オブジェクト ¶ 便利で迅速な検数をサポートするカウンタツールが提供されています。例えば: >>> # Tally occurrences of words in ... a list >>> cnt = Counter () >>> for word in [ 'red' , 'blue' , 'red' , 'green' , 'blue' , 'blue' ]: ... cnt [ word ] += 1 ... >>> cnt Counter({'blu ...
https://man.mtool.work/python/3.14/library/collections.html
time --- 時刻データへのアクセスと変換 — Python 3.14.8 ドキュメント 7607
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » time --- 時刻データへのアクセスと変換 テーマ 自動 ライト ダーク | time --- 時刻データへのアク ... 取得します。サポートされているクロック名およびそれらの値を取得する関数は以下の通りです: 'monotonic' : time.monotonic() 'perf_counter' : time.perf_counter() 'process_time' : time.process_time() 'thread_time' : time.thread_time() 'time' : time.time() 結果は ... せん。戻り値の基準点は定義されていないので、二回の呼び出しの結果の差だけが有効です。 Clock: On Windows, call QueryPerformanceCounter() and QueryPerformanceFrequency() . On macOS, call mach_absolute_time() and mach_timebase_info() . On HP-UX, call gethrtim ... . time. monotonic_ns ( ) → int ¶ monotonic() に似ていますが、ナノ秒単位の時刻を返します。 Added in version 3.7. time. perf_counter ( ) → float ¶ Return the value (in fractional seconds) of a performance counter, i.e. a clock with the highest available r ...
https://man.mtool.work/python/3.14/library/time.html
dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 7425
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ ... on. JUMP_FORWARD ( delta ) ¶ バイトコードカウンタを delta だけ増加させます。 JUMP_BACKWARD ( delta ) ¶ Decrements bytecode counter by delta . Checks for interrupts. Added in version 3.11. JUMP_BACKWARD_NO_INTERRUPT ( delta ) ¶ Decrements bytecode counte ... ot check for interrupts. Added in version 3.11. POP_JUMP_IF_TRUE ( delta ) ¶ If STACK[-1] is true, increments the bytecode counter by delta . STACK[-1] is popped. バージョン 3.11 で変更: The oparg is now a relative delta rather than an absolute target. ... struction now requires an exact bool operand. POP_JUMP_IF_FALSE ( delta ) ¶ If STACK[-1] is false, increments the bytecode counter by delta . STACK[-1] is popped. バージョン 3.11 で変更: The oparg is now a relative delta rather than an absolute target. ...
https://man.mtool.work/python/3.14/library/dis.html
time --- 時刻データへのアクセスと変換 — Python 3.14.8 ドキュメント 7425
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » time --- 時刻データへのアクセスと変換 テーマ 自動 ライト ダーク | time --- 時刻データへのアク ... 取得します。サポートされているクロック名およびそれらの値を取得する関数は以下の通りです: 'monotonic' : time.monotonic() 'perf_counter' : time.perf_counter() 'process_time' : time.process_time() 'thread_time' : time.thread_time() 'time' : time.time() 結果は ... せん。戻り値の基準点は定義されていないので、二回の呼び出しの結果の差だけが有効です。 Clock: On Windows, call QueryPerformanceCounter() and QueryPerformanceFrequency() . On macOS, call mach_absolute_time() and mach_timebase_info() . On HP-UX, call gethrtim ... . time. monotonic_ns ( ) → int ¶ monotonic() に似ていますが、ナノ秒単位の時刻を返します。 Added in version 3.7. time. perf_counter ( ) → float ¶ Return the value (in fractional seconds) of a performance counter, i.e. a clock with the highest available r ...
https://man.mtool.work/python/3.14/library/time.html
dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 7425
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ ... on. JUMP_FORWARD ( delta ) ¶ バイトコードカウンタを delta だけ増加させます。 JUMP_BACKWARD ( delta ) ¶ Decrements bytecode counter by delta . Checks for interrupts. Added in version 3.11. JUMP_BACKWARD_NO_INTERRUPT ( delta ) ¶ Decrements bytecode counte ... ot check for interrupts. Added in version 3.11. POP_JUMP_IF_TRUE ( delta ) ¶ If STACK[-1] is true, increments the bytecode counter by delta . STACK[-1] is popped. バージョン 3.11 で変更: The oparg is now a relative delta rather than an absolute target. ... struction now requires an exact bool operand. POP_JUMP_IF_FALSE ( delta ) ¶ If STACK[-1] is false, increments the bytecode counter by delta . STACK[-1] is popped. バージョン 3.11 で変更: The oparg is now a relative delta rather than an absolute target. ...
https://man.mtool.work/python/3.14/library/dis.html
変更履歴 — Python 3.14.8 ドキュメント 7229
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... atched by Shamil Abdulaev. gh-157377 : Fix gc.get_count() on the free-threaded build resetting the thread-local allocation counter that schedules automatic garbage collection. A thread that called it while allocating could prevent cyclic garbage from ev ... se errno was previously set to ERANGE by some library call. Patch by Sergey B Kirpichev. gh-129752 : Don't update adaptive counters in the free-threaded build when thread-local bytecode is disabled ( -X tlbc=0 ). Patch by Donghee Na. gh-155515 : Track t ... o state that nelements must be non-negative instead of positive. gh-143004 : Fix a potential use-after-free in collections.Counter.update() when user code mutates the Counter during an update. gh-143046 : The asyncio REPL no longer prints copyright and ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
PyTime C API — Python 3.14.8 ドキュメント 7138
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » PyTime C API テーマ 自動 ライト ダーク | PyTime C API ¶ Added in version 3.13. クロック C API は、システムクロッ ... ( PyTime_t * result ) ¶ Read the monotonic clock. See time.monotonic() for important details on this clock. int PyTime_PerfCounter ( PyTime_t * result ) ¶ Read the performance counter. See time.perf_counter() for important details on this clock. int PyT ... ar to PyTime_Monotonic() , but don't set an exception on error and don't require an attached thread state . int PyTime_PerfCounterRaw ( PyTime_t * result ) ¶ Similar to PyTime_PerfCounter() , but don't set an exception on error and don't require an atta ...
https://man.mtool.work/python/3.14/c-api/time.html
timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 7138
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ ... 値が 3 から 5 へ変更されました。 timeit. default_timer ( ) ¶ 浮動小数点数の秒数を返すデフォルトのタイマーで、常に time.perf_counter() でとなります。代わりに、 time.perf_counter_ns は整数のナノ秒を返します。 バージョン 3.3 で変更: デフォルトのタイマーが t ... ime.perf_counter() になりました。 class timeit. Timer ( stmt='pass' , setup='pass' , timer=<timer function> , globals=None ) ¶ 小さなコード ... 数(デフォルトは5) -s S , --setup =S ¶ 最初に1回だけ実行する文 (デフォルトは pass ) -p , --process ¶ デフォルトの time.perf_counter() の代わり time.process_time() を利用して、実時間ではなくプロセス時間を計測します Added in version 3.3. -u , --unit =U ¶ t ...
https://man.mtool.work/python/3.14/library/timeit.html
PyTime C API — Python 3.14.8 ドキュメント 7138
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » PyTime C API テーマ 自動 ライト ダーク | PyTime C API ¶ Added in version 3.13. クロック C API は、システムクロッ ... ( PyTime_t * result ) ¶ Read the monotonic clock. See time.monotonic() for important details on this clock. int PyTime_PerfCounter ( PyTime_t * result ) ¶ Read the performance counter. See time.perf_counter() for important details on this clock. int PyT ... ar to PyTime_Monotonic() , but don't set an exception on error and don't require an attached thread state . int PyTime_PerfCounterRaw ( PyTime_t * result ) ¶ Similar to PyTime_PerfCounter() , but don't set an exception on error and don't require an atta ...
https://man.mtool.work/python/3.14/c-api/time.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT