python - Import pandas dataframe column as string not int - Stack Overflow

PHOTO EMBED

Mon Nov 30 2020 11:38:37 GMT+0000 (Coordinated Universal Time)

Saved by @arielvol #python

In [2]: read_csv('sample.csv', dtype={'ID': object})
Out[2]: 
                           ID
0  00013007854817840016671868
1  00013007854817840016749251
2  00013007854817840016754630
3  00013007854817840016781876
4  00013007854817840017028824
5  00013007854817840017963235
6  00013007854817840018860166
content_copyCOPY

https://stackoverflow.com/questions/13293810/import-pandas-dataframe-column-as-string-not-int