dfで全角・半角の変換 2022年11月30日 / 1 min read View more blogs with the tag pandas , View more blogs with the tag python Table of Contents #はじめに #方法 #スクリプト はじめに Pandasのデータフレームで全角・半角を変換する方法です。 方法 mojimoji というライブラリが便利そうです。 Terminal window$ pip install mojimoji スクリプト import mojimoji df['hoge'] = df['hoge'].apply(mojimoji.zen_to_han)