Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルをパンダに読み込もうとします。ファイルにはスペースで区切られた値がありますが、試したスペースの数が異なります:
pd.read_csv('file.csv', delimiter=' ')
しかし、それは機能しません
引数を追加delim_whitespace=Trueすると、正規表現よりも高速になります。
delim_whitespace=True