我有一个数据框架,其中一列的形式是
Mat_Headers_Turbine = df_2['1'].unique().tolist()
print(Mat_Headers_Turbine)
['TURBINE , GAS ', 'TURBINE ', 'TURBINE,STEAM ', 'TURBINE, STEAM ', 'TURBINE,EXPANSION ', 'TURBINE STEAM ', 'STEAM TURBINE ', 'TURATING ', 'PUMPS, RECIPROCATING ', 'BLOWERS ', 'REGENERATOR CYLONE SEPERATOR ', 'MOBILE CRANE ', 'MECHANICAL SEAL ', 'TOOLS - MISCELLANEOUS', 'LADDERS ', 'TRANSDUCER ', 'FLAME SCANNERS AND PARTS:', 'VALVE, CONTROL, GLOBE ']
我只需要提取 "TURBINE "的对应值,即 "气体/蒸汽/空气/发动机/膨胀 "到一个新的列。
行的数量大约是50,000。我怎样才能做到这一点?