How to load Numpy array in Jupyter Notebook

0 votes

I have one NumPy array saved in a file. How can I load this array in Jupyter Notebook?

Jun 22, 2020 in Python by akhtar
• 38,210 points
2,412 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use numpy.load() function to load your array. I have attached one example below for your reference.

import numpy as np 
b = np.load('outfile.npy')

I hope this will help.

answered Jun 22, 2020 by MD
• 95,300 points

Related Questions In Python

0 votes
1 answer

How to save Numpy array as image in python?

If you have matplotlib, you can do: import ...READ MORE

answered Nov 16, 2018 in Python by Nymeria
• 3,520 points
7,460 views
0 votes
0 answers

i want to ask that how can i run one file of python in another file in jupyter notebook

motion_detection.ipynb # Python program to implement # Webcam ...READ MORE

Dec 15, 2020 in Python by Ramsha
• 120 points
205 views
+4 votes
7 answers
+1 vote
12 answers
+1 vote
2 answers

View onto a numpy array?

 just index it as you normally would. ...READ MORE

answered Oct 18, 2018 in Python by roberto
214 views
0 votes
1 answer

Printing a large numpy array

numpy.set_printoptions(threshold='nan') READ MORE

answered Jul 20, 2018 in Python by Nietzsche's daemon
• 4,260 points
774 views
0 votes
1 answer
0 votes
1 answer

How to load python script in Jupyter Notebook?

Hi@akhtar, Starting from IPython 3 (now Jupyter project), ...READ MORE

answered Aug 16, 2020 in Python by MD
• 95,300 points
6,283 views
0 votes
1 answer

How to import a folder in Jupyter Notebook?

Hi@akhtar, There is no simple way to import ...READ MORE

answered Aug 16, 2020 in Python by MD
• 95,300 points
9,041 views