Q:

Write a NumPy program to save a NumPy array to a text file

0

Write a NumPy program to save a NumPy array to a text file

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

import numpy as np
a = np.arange(1.0, 2.0, 36.2)
np.savetxt('file.out', a, delimiter=',';

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now