NumPy - Array Data Types
You have a large dataset of decimal numbers but limited memory. You want to store the data with the smallest float type without losing too much precision. Which float type should you choose?
float16 uses least memory but has low precision, which may lose important decimal details.float32 uses moderate memory and keeps good precision, suitable for large datasets with decimals.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions