added pandas pre process