Added fix for python generator for float arrays.