Generation

generate functionWed, 08 Mar 2023

データフレームの全レコードに含まれる「=====」のレコードを削除したい

def remove_dash(x): try: if x =='=====': return None else: return x except: return None df.applymap(remove_dash)

Questions about programming?Chat with your personal AI assistant