【问题标题】:2 column n rows array- operation on elements of two colums in each row2列n行数组-对每行中两列元素的操作
【发布时间】:2016-10-11 15:02:30
【问题描述】:

我有一个 n 行和两列的数组(数组)。 我有另一个变量 (a) 用作参考。

 for a between (1-10000)
     if    column1 of ARRAY<= a <= column2 of the ARRAY
            save the tuple (a, YES)

这个结果元组我将用于进一步的操作

【问题讨论】:

  • 生成mcve?
  • 绒毛,拼写

标签: python arrays numpy


【解决方案1】:

NumPy documentation 包含您可能需要的所有信息。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-07-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多