Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Python NumPy atleast_1d Function Example 02

# welcome to softhunt.net
# Python program explaining
# numpy.atleast_1d() function

import numpy as np

my_list = [[1, 2, 3], [4, 5, 6]]

print ("Input list : 
", my_list)
	
out_arr = np.atleast_1d(my_list)
print ("output array : 
", out_arr)
Comment

PREVIOUS NEXT
Code Example
Python :: Python NumPy ndarray.T Example 
Python :: Python NumPy moveaxis function Example 
Python :: Python NumPy Shape function example Printing the shape of the multidimensional array 
Python :: run all pycharm jupyter notebook 
Python :: how to change the color of console output in python to green 
Python :: python text file contains 
Python :: how to import scypy in python 
Python :: Python NumPy asanyarray Function Example List to an array 
Python :: Python NumPy asscalar Function Syntax 
Python :: Python NumPy dstack Function Example 02 
Python :: making dividers in tkinter 
Python :: Python NumPy dsplit Function 
Python :: max index tuple 
Python :: __ge__ 
Python :: NumPy rot90 Example Rotating Three times 
Python :: godot knockback 
Python :: NumPy packbits Code Packed array along axis 1 
Python :: main code for bpsk scheme 
Python :: taking str input in python and counting no of it 
Python :: how to avoind DeprecationWarning in python 
Python :: server localhost for shar file 
Python :: lda from scratch implementation on iris python 
Python :: Simple GUI 
Python :: pyxl activate sheet 
Python :: How to secure an endpoint for selected users with Flask-JWT-Extended 
Python :: variable bound to set python 
Python :: linkedin bot python 
Python :: ring open another file 
Python :: ring Trace Library 
Python :: search for file in a whole system 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =