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