per page, with , order by , clip by
Results of 1 - 10 of about 99 for reverse (0.004 sec.)
ソートのテクニック — Python 3.14.8 ドキュメント 11614
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » ソートのテクニック テーマ 自動 ライト ダーク | ソートのテクニック ¶ Author : Andrew Dalke and Raymond Hettinger Python のリストにはリストをインプレ ... ' )) ['Abe', 'Eloise', 'Nubia', 'Núñez', 'Zeke', 'Zoë', 'Åbjørn', 'Élana'] 昇順と降順 ¶ list.sort() と sorted() の両方とも reverse パラメータを 真偽値として受け付けます。このパラメータは降順ソートを行うかどうかの フラグとして利用されます。 例えば、学生の ... データを age の逆順で得たい場合: >>> sorted ( student_tuples , key = itemgetter ( 2 ), reverse = True ) [('john', 'A', 15), ('jane', 'B', 12), ('dave', 'B', 10)] >>> sorted ( student_objects , key = attrgetter ( 'age' ... ), reverse = True ) [('john', 'A', 15), ('jane', 'B', 12), ('dave', 'B', 10)] ソートの安定性と複合的なソート ¶ ソートは、 安定 (stabl ...
https://man.mtool.work/python/3.14/howto/sorting.html
ソートのテクニック — Python 3.14.8 ドキュメント 11054
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » ソートのテクニック テーマ 自動 ライト ダーク | ソートのテクニック ¶ Author : Andrew Dalke and Raymond Hettinger Python のリストにはリストをインプレ ... ' )) ['Abe', 'Eloise', 'Nubia', 'Núñez', 'Zeke', 'Zoë', 'Åbjørn', 'Élana'] 昇順と降順 ¶ list.sort() と sorted() の両方とも reverse パラメータを 真偽値として受け付けます。このパラメータは降順ソートを行うかどうかの フラグとして利用されます。 例えば、学生の ... データを age の逆順で得たい場合: >>> sorted ( student_tuples , key = itemgetter ( 2 ), reverse = True ) [('john', 'A', 15), ('jane', 'B', 12), ('dave', 'B', 10)] >>> sorted ( student_objects , key = attrgetter ( 'age' ... ), reverse = True ) [('john', 'A', 15), ('jane', 'B', 12), ('dave', 'B', 10)] ソートの安定性と複合的なソート ¶ ソートは、 安定 (stabl ...
https://man.mtool.work/python/3.14/howto/sorting.html
numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 11054
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li ... b+a . ほとんどの演算はどのような型についても非常に良く似ていますので、与えられた演算子について順結合(forward)および逆結合(reverse)のメソッドを生成する支援関数を定義することは役に立ちます。たとえば、 fractions.Fraction では次のようなものを利用しています ... ted forward . __name__ = '__' + fallback_operator . __name__ + '__' forward . __doc__ = monomorphic_operator . __doc__ def reverse ( b , a ): if isinstance ( a , Rational ): # Includes ints. return monomorphic_operator ( a , b ) elif isinstance ( a , Re ... )) elif isinstance ( a , Complex ): return fallback_operator ( complex ( a ), complex ( b )) else : return NotImplemented reverse . __name__ = '__r' + fallback_operator . __name__ + '__' reverse . __doc__ = monomorphic_operator . __doc__ return forward ...
https://man.mtool.work/python/3.14/library/numbers.html
numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 10141
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li ... b+a . ほとんどの演算はどのような型についても非常に良く似ていますので、与えられた演算子について順結合(forward)および逆結合(reverse)のメソッドを生成する支援関数を定義することは役に立ちます。たとえば、 fractions.Fraction では次のようなものを利用しています ... ted forward . __name__ = '__' + fallback_operator . __name__ + '__' forward . __doc__ = monomorphic_operator . __doc__ def reverse ( b , a ): if isinstance ( a , Rational ): # Includes ints. return monomorphic_operator ( a , b ) elif isinstance ( a , Re ... )) elif isinstance ( a , Complex ): return fallback_operator ( complex ( a ), complex ( b )) else : return NotImplemented reverse . __name__ = '__r' + fallback_operator . __name__ + '__' reverse . __doc__ = monomorphic_operator . __doc__ return forward ...
https://man.mtool.work/python/3.14/library/numbers.html
heapq --- ヒープキューアルゴリズム — Python 3.14.8 ドキュメント 9959
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » heapq --- ヒープキューアルゴリズム テーマ 自動 ライト ダーク | heapq --- ヒープキューアルゴリズム ¶ ソースコード: Lib/he ... o. The interesting property of a min-heap is that its smallest element is always the root, heap[0] . Max-heaps satisfy the reverse invariant: every parent node has a value greater than any of its children. These are implemented as lists for which maxhea ... maxheap[k] for all k for which the compared elements exist. The root, maxheap[0] , contains the largest element; heap.sort(reverse=True) maintains the max-heap invariant. The heapq API differs from textbook heap algorithms in two aspects: (a) We use zer ... in version 3.14. このモジュールではさらに3つのヒープに基く汎用関数を提供します。 heapq. merge ( * iterables , key = None , reverse = False ) ¶ 複数のソートされた入力をマージ(merge)して一つのソートされた出力にします (たとえば、複数のログファイルの時刻の入 ...
https://man.mtool.work/python/3.14/library/heapq.html
heapq --- ヒープキューアルゴリズム — Python 3.14.8 ドキュメント 9959
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » heapq --- ヒープキューアルゴリズム テーマ 自動 ライト ダーク | heapq --- ヒープキューアルゴリズム ¶ ソースコード: Lib/he ... o. The interesting property of a min-heap is that its smallest element is always the root, heap[0] . Max-heaps satisfy the reverse invariant: every parent node has a value greater than any of its children. These are implemented as lists for which maxhea ... maxheap[k] for all k for which the compared elements exist. The root, maxheap[0] , contains the largest element; heap.sort(reverse=True) maintains the max-heap invariant. The heapq API differs from textbook heap algorithms in two aspects: (a) We use zer ... in version 3.14. このモジュールではさらに3つのヒープに基く汎用関数を提供します。 heapq. merge ( * iterables , key = None , reverse = False ) ¶ 複数のソートされた入力をマージ(merge)して一つのソートされた出力にします (たとえば、複数のログファイルの時刻の入 ...
https://man.mtool.work/python/3.14/library/heapq.html
6. モジュール — Python 3.14.8 ドキュメント 9398
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 6. モジュール テーマ 自動 ライト ダーク | 6. モジュール ¶ Python インタプリタを終了させ、再び起動すると、これまでに行ってきた定義 (関数や ... 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'quit', 'range', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'vars', 'zip'] 6. ... fread.py aiffwrite.py auread.py auwrite.py ... effects/ サウンドエフェクトのサブパッケージ __init__.py echo.py surround.py reverse.py ... filters/ フィルターのサブパッケージ __init__.py equalizer.py vocoder.py karaoke.py ... パッケージを import する際、 ... 、ファイル sound/effects/__init__.py には、次のような コードを入れてもよいかもしれません: __all__ = [ "echo" , "surround" , "reverse" ] これが意味するのは、 from sound.effects import * とすると、名前の挙がった 3つのサブモジュールが sound.effects パッケージ ...
https://man.mtool.work/python/3.14/tutorial/modules.html
6. モジュール — Python 3.14.8 ドキュメント 9398
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 6. モジュール テーマ 自動 ライト ダーク | 6. モジュール ¶ Python インタプリタを終了させ、再び起動すると、これまでに行ってきた定義 (関数や ... 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'quit', 'range', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'vars', 'zip'] 6. ... fread.py aiffwrite.py auread.py auwrite.py ... effects/ サウンドエフェクトのサブパッケージ __init__.py echo.py surround.py reverse.py ... filters/ フィルターのサブパッケージ __init__.py equalizer.py vocoder.py karaoke.py ... パッケージを import する際、 ... 、ファイル sound/effects/__init__.py には、次のような コードを入れてもよいかもしれません: __all__ = [ "echo" , "surround" , "reverse" ] これが意味するのは、 from sound.effects import * とすると、名前の挙がった 3つのサブモジュールが sound.effects パッケージ ...
https://man.mtool.work/python/3.14/tutorial/modules.html
Time complexity of operations on built-in types — Python 3.14.8 ドキュメント 7925
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Time complexity of operations on built-in types テーマ 自動 ライト ダーク | Time complexity of operations on built-in types ¶ This p ... ] O (len( s ) + len( t )) Multiply ( s * k ) O ( nk ) Substring search ( x in s , s.find(x) , s.index(x) ) [ 11 ] O ( n ) Reverse substring search ( s.rfind(x) , s.rindex(x) ) [ 11 ] [ 12 ] O ( n × len( x )) Encode or decode [ 13 ] O ( n ) イテレーショ ... for an arbitrary iterable. [ 4 ] This is the worst case scenario. Sorting is adaptive and input that is already sorted or reverse-sorted takes only O ( n ) comparisons. See Objects/listsort.txt for more information. [ 5 ] ( 1 , 2 , 3 , 4 , 5 , 6 , 7 ) ... the length of the region searched rather than of s , and unlike slicing nothing is copied. [ 12 ] This is the worst case. Reverse searches are O ( n ) on typical input. Forward searches instead use a more elaborate algorithm with a linear worst case, d ...
https://man.mtool.work/python/3.14/builtins/time-complexity.html
Time complexity of operations on built-in types — Python 3.14.8 ドキュメント 7925
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Time complexity of operations on built-in types テーマ 自動 ライト ダーク | Time complexity of operations on built-in types ¶ This p ... ] O (len( s ) + len( t )) Multiply ( s * k ) O ( nk ) Substring search ( x in s , s.find(x) , s.index(x) ) [ 11 ] O ( n ) Reverse substring search ( s.rfind(x) , s.rindex(x) ) [ 11 ] [ 12 ] O ( n × len( x )) Encode or decode [ 13 ] O ( n ) イテレーショ ... for an arbitrary iterable. [ 4 ] This is the worst case scenario. Sorting is adaptive and input that is already sorted or reverse-sorted takes only O ( n ) comparisons. See Objects/listsort.txt for more information. [ 5 ] ( 1 , 2 , 3 , 4 , 5 , 6 , 7 ) ... the length of the region searched rather than of s , and unlike slicing nothing is copied. [ 12 ] This is the worst case. Reverse searches are O ( n ) on typical input. Forward searches instead use a more elaborate algorithm with a linear worst case, d ...
https://man.mtool.work/python/3.14/builtins/time-complexity.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT