KOTA ITO

Generation

generate functionSun, 11 Dec 2022

csvファイルを読み込む時に、NaNを含む列の型を、dtypeで10進数の整数に指定する。

df = pd.read_csv('your_file.csv', dtype='Int64')

Questions about programming?Chat with your personal AI assistant