Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open("combinations_array2.txt", 'w') as f:
- f.write(f"# Array shape: {combinations_array.shape}\n")
- for array_slice in combinations_array:
- np.savetxt("combinations_array2.txt", array_slice, fmt="%i" , delimiter=', ')
- f.write("# New slice\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement