h2o-wave 相关问题


Numpy 字符串数组:如何根据另一个数组中的元素对一个数组中的元素进行分组

我有两个 numpy 数组: a = np.array(['123_H2O_56', '345_CO2', 'H6C6_test', 'check_H2O', '67_H2O']) b = np.array(['H2O', 'CO2', 'H6C6']) 我需要对“a”numpy 数组基中的元素进行分组...


© www.soinside.com 2019 - 2024. All rights reserved.