py: Add support for float/double arrays in array module.

Addresses issue #981.