<bdo id='oi2LH'></bdo><ul id='oi2LH'></ul>
    1. <small id='oi2LH'></small><noframes id='oi2LH'>

      <i id='oi2LH'><tr id='oi2LH'><dt id='oi2LH'><q id='oi2LH'><span id='oi2LH'><b id='oi2LH'><form id='oi2LH'><ins id='oi2LH'></ins><ul id='oi2LH'></ul><sub id='oi2LH'></sub></form><legend id='oi2LH'></legend><bdo id='oi2LH'><pre id='oi2LH'><center id='oi2LH'></center></pre></bdo></b><th id='oi2LH'></th></span></q></dt></tr></i><div id='oi2LH'><tfoot id='oi2LH'></tfoot><dl id='oi2LH'><fieldset id='oi2LH'></fieldset></dl></div>

    2. <tfoot id='oi2LH'></tfoot><legend id='oi2LH'><style id='oi2LH'><dir id='oi2LH'><q id='oi2LH'></q></dir></style></legend>

      Python 设置的无序是否可以被视为随机序?

      Can Python#39;s set absence of ordering be considered random order?(Python 设置的无序是否可以被视为随机序?)
    3. <legend id='brd8l'><style id='brd8l'><dir id='brd8l'><q id='brd8l'></q></dir></style></legend>

      <small id='brd8l'></small><noframes id='brd8l'>

        <tbody id='brd8l'></tbody>

      <tfoot id='brd8l'></tfoot>
      <i id='brd8l'><tr id='brd8l'><dt id='brd8l'><q id='brd8l'><span id='brd8l'><b id='brd8l'><form id='brd8l'><ins id='brd8l'></ins><ul id='brd8l'></ul><sub id='brd8l'></sub></form><legend id='brd8l'></legend><bdo id='brd8l'><pre id='brd8l'><center id='brd8l'></center></pre></bdo></b><th id='brd8l'></th></span></q></dt></tr></i><div id='brd8l'><tfoot id='brd8l'></tfoot><dl id='brd8l'><fieldset id='brd8l'></fieldset></dl></div>
        • <bdo id='brd8l'></bdo><ul id='brd8l'></ul>

                本文介绍了Python 设置的无序是否可以被视为随机序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我想知道 Python 内置 set 结构中缺少元素排序是否足够随机".例如,取一个集合的迭代器,是否可以将其视为其元素的混洗视图?

                I'd like to know if the absence of element ordering of the Python's built-in set structure is "random enough". For instance, taking the iterator of a set, can it be considered a shuffled view of its elements?

                (如果重要的话,我在 Windows 主机上运行 Python 2.6.5.)

                (If it matters, I'm running Python 2.6.5 on a Windows host.)

                推荐答案

                不,它不是随机的.它是任意排序的",这意味着您不能依赖它是有序的还是随机的.

                No, it is not random. It is "arbitrarily ordered", which means that you cannot depend on it being either ordered or random.

                这篇关于Python 设置的无序是否可以被视为随机序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                groupby multiple coords along a single dimension in xarray(在xarray中按单个维度的多个坐标分组)
                Group by and Sum in Pandas without losing columns(Pandas中的GROUP BY AND SUM不丢失列)
                Group by + New Column + Grab value former row based on conditionals(GROUP BY+新列+基于条件的前一行抓取值)
                Groupby and interpolate in Pandas(PANDA中的Groupby算法和插值算法)
                Pandas - Group Rows based on a column and replace NaN with non-null values(PANAS-基于列对行进行分组,并将NaN替换为非空值)
                Grouping pandas DataFrame by 10 minute intervals(按10分钟间隔对 pandas 数据帧进行分组)
                  <i id='4YD6n'><tr id='4YD6n'><dt id='4YD6n'><q id='4YD6n'><span id='4YD6n'><b id='4YD6n'><form id='4YD6n'><ins id='4YD6n'></ins><ul id='4YD6n'></ul><sub id='4YD6n'></sub></form><legend id='4YD6n'></legend><bdo id='4YD6n'><pre id='4YD6n'><center id='4YD6n'></center></pre></bdo></b><th id='4YD6n'></th></span></q></dt></tr></i><div id='4YD6n'><tfoot id='4YD6n'></tfoot><dl id='4YD6n'><fieldset id='4YD6n'></fieldset></dl></div>
                • <legend id='4YD6n'><style id='4YD6n'><dir id='4YD6n'><q id='4YD6n'></q></dir></style></legend>

                    <tfoot id='4YD6n'></tfoot>

                    <small id='4YD6n'></small><noframes id='4YD6n'>

                      <bdo id='4YD6n'></bdo><ul id='4YD6n'></ul>
                          <tbody id='4YD6n'></tbody>