Remove repeated rows in 2D numpy array, maintaining first instance and ordering

前端 未结 0 1024
旧巷少年郎
旧巷少年郎 2021-01-16 06:35

I have an 2-dimensional Numpy array where some rows are not unique, i.e., when I do:

import numpy as np

data.shape                        #number of rows X c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题