Python Numpy Tutorial Load

Опубликовано: 23 Июль 2019
на канале: Python Marathon
5,391
28

Descargar el Código: patreon.com/pythonmaraton

Join Patreon: patreon.com/pythonmaraton
^Downloadable code & more! np.load

Alright so to load a saved numpy array or pickle file using numpy we need to first import numpy as np

next I’ll just say A = np.load(‘sample.npy’)
and let’s see what A is now.

Excellent this is the same array we saved in the np.save video and it loaded so fast and easy.

Here is the file we loaded sitting on the desktop. You can also put file paths as part of your string if your running code is not in the same folder as the array you are trying to load.

And here is the documentation for np.load. You can use np.load to also load npz files which can also be arrays or any python pickle.

So there you have it. That is how you can use numpy np.load to read in arrays.

Be sure to check out some of my other python videos and don’t forget to hit subscribe :D

This is a Python anaconda tutorial for help with coding, programming, or computer science. These are short python videos dedicated to troubleshooting python problems and learning Python syntax. For more videos see Python Help playlist by Rylan Fowers.

✅Subscribe: https://www.youtube.com/channel/UCub4...

📺Channel: https://www.youtube.com/channel/UCub4...

▶️Watch Latest Python Content: https://www.youtube.com/watch?v=myCPg...

▶️Watch Latest Other Content: https://www.youtube.com/watch?v=2YfQs...



🎵Theme Music: https://www.bensound.com/royalty-free...



#PythonMarathon #LearnPython #PythonTutorial


На этой странице сайта вы можете посмотреть видео онлайн Python Numpy Tutorial Load длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Python Marathon 23 Июль 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 5,391 раз и оно понравилось 28 зрителям. Приятного просмотра!