I have data in form of a 2D array.
my_array = np.array([[1,2,3],[4,5,6])
How can I save the data as an ascii-file?
Furthermore: Is it problematic if the array contains a large amount of data?
I know how to save as data as a txt file, but that is not what I want or at least I would need to change the settings somehow.
You can use
np.savetxtfunction for that. For loading the text file, you can usenp.loadtxtAlternatively, you can also just write a printable representational string into a text file using regular built-in python IO