200000行のデータを持つUTF-8 CSVファイルがあり、空のセルを置き換える必要があります。スクリプトでそれを行うことはできますか?ありがとう。UTF-8 CSVファイルの空のセルをダミーデータ(data_row_number)に置き換える方法
次のように行うことができるのPython 3.xを使用しLE_NA,SH_NA,ID_NUM,OC_NA,OT_NA,OC_SURN,OTHER_NA,SURN,BIRTH_DATE,PID,ADD1,ADD2,ADD3,ADD
"王","王","A123456","王","","王","王","王","1980-10-6","","Hong Kong","香港","香港","香港"
"陳","陳","A123456","陳","","陳","陳","","1970-1-6","","Hong Kong","香港","香港","香港"
"李","李","A65456","李","","李","李","","1978-1-6","","Hong Kong","香港","香港","香港"
"方","方","A166456","方","","方","方","","1972-4-6","","Hong Kong","香港","香港","香港"
1.最初の読み取りファイル(pandasまたはcsvリーダー)2.ターゲット値を置き換えます。もしあなたが私たちに知らせてくれたら、最後にお試しください。既に試したことがある場合は、コードを投稿してください。 –