Best data type (in terms of speed/RAM) for millions of pairs of a single int paired with a batch (2 to 100) of ints

后端 未结 3 1002
逝去的感伤
逝去的感伤 2021-01-29 03:37

I have about 15 million pairs that consist of a single int, paired with a batch of (2 to 100) other ints.

If it makes a difference, the ints themselve range from 0 to 1

3条回答
  •  臣服心动
    2021-01-29 04:11

    Use numpy. It us the most efficient and you can use it easily with a machine learning model.

提交回复
热议问题