keep 0 in front of number pandas read csv

34

import csv
from pandas import read_csv

dataframe = read_csv('projects.csv', converters={'project_id': lambda x: str(x)})
print dataframe

Comments

Submit
0 Comments