It's not solution what I want. sorry.

I want to know what's wrong in my code and the reason why it was failed. and I want to improve the performance for big DataFrame processing.