npy format size vs csv format size
NPY file format is supposingly much smaller and more compact than the equivalent .csv file. However, as the "lending-company-saving.csv" file used in the lecture was imported and saved in an npy file format, the size increased immense. csv(59 kb) and npy(400 kb). Or are you refering to another measure in size?
Hello - i wanted to ask the same question and was wondering how come csv is lesser size than npy file - appreciate if 365 team can clarify this point
In general, NPY filetype is smaller in size than most txt files with an average of 20%
However, this can be noticed when dealing with numbers as NumPy is supposed to deal better with numeric data not string ones as illustrated in the video
For more information, please check below links
Comparing speed and size of to_csv(), np.save()
Why is the size of npy bigger than csv?
Why You Should Start Using .npy Files More Often