Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Python
20.1k+ articles
AI-ML-DS
5.4k+ articles
Python-numpy
1.3k+ articles
python
1.1k+ articles
python-list
410+ articles
python-dict
240+ articles
Python numpy-ndarray
110+ articles
Python numpy-Matrix Function
98 articles
Numpy
72 articles
Python numpy-Basics
6 articles
Python numpy-arrayCreation
39 posts
Popular Articles
Recent Articles
How to Create a Sequence of Linearly Increasing Values with Numpy Arrange?
Last Updated: 16 August 2022
In this article, we are going to create a sequence of linearly increasing values with Numpy arrange() function.Getting StartedBy using arran
...read more
Python
Python-numpy
Picked
Python numpy-arrayCreation
Numpy MaskedArray.argsort() function | Python
Last Updated: 27 September 2019
In many circumstances, datasets can be incomplete or tainted by the presence of invalid data. For example, a sensor may have failed to recor
...read more
Python
Python-numpy
Python numpy-arrayCreation
numpy.geomspace() in Python
Last Updated: 31 May 2021
numpy.geomspace() is used to return numbers spaced evenly on a log scale (a geometric progression).This is similar to numpy.logspace() but w
...read more
Python
Python-numpy
Python numpy-arrayCreation
Similar Topics
Python
20.1k+ articles
AI-ML-DS
5.4k+ articles
Python-numpy
1.3k+ articles
python
1.1k+ articles
python-list
410+ articles
python-dict
240+ articles
Python numpy-ndarray
110+ articles
Python numpy-Matrix Function
98+ articles
Numpy
72+ articles
Python numpy-Basics
6+ articles
numpy.ascontiguousarray() in Python
Last Updated: 16 November 2021
numpy.ascontiguousarray()function is used when we want to return a contiguous array in memory (C order).Syntax : numpy.ascontiguousarray(a
...read more
Python
Python-numpy
Python numpy-arrayCreation
numpy.asanyarray() in Python
Last Updated: 28 May 2019
numpy.asanyarray()function is used when we want to convert input to an array but it pass ndarray subclasses through. Input can be scalars, l
...read more
Python
Python-numpy
Python numpy-arrayCreation
numpy.tri() in Python
Last Updated: 09 March 2022
numpy.tri(R, C = None, k = 0, dtype = 'float') : Creates an array with 1's at and below the given diagonal(about k) and 0's elsewhere.Parame
...read more
Python
Python-numpy
Python numpy-arrayCreation
numpy.tril() in Python
Last Updated: 09 March 2022
numpy.tril(a, k=0) : Returns copy of array with lower part of the triangle w.r.t kParameters : a : input arrayk : [int, optional, 0 by defau
...read more
Python
Python-numpy
Python numpy-arrayCreation
numpy.diagflat() in Python
Last Updated: 04 August 2021
numpy.diagflat (a, k = 0): Create a two-dimensional array with the array_like input as a diagonal to the new output array.Parameters :a : ar
...read more
Python
Python-numpy
Python numpy-arrayCreation
numpy.empty_like() in Python
Last Updated: 29 November 2018
numpy.empty_like(a, dtype = None, order = 'K', subok = True) : Return a new array with the same shape and type as a given array.Parameters :
...read more
Python
Python-numpy
Python numpy-arrayCreation
First
1
2
3
First
1
2
3
First
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !