fix pydata loading problem, ported from 6_2_X
Merge pull request #2009 from mkirsano/pydata_fix_70X

Generators fixes -- fix pydata loading problem, ported from 6_2_X