- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How can we call the documentation for NumPy and SciPy?
If you are unsure of how to use a particular function or variable in NumPy and SciPy, you can call for the documentation with the help of ‘?’. In Jupyter notebook and IPython shell we can call up the documentation as follows −
Example
If you want to know NumPy sin () function, you can use the below code −
import numpy as np np.sin?
Output
We will get the details about sin() function something like as follows −
We can also view the source with the help of double question mark (??) as follows −
import numpy as np np.sin??
Similarly, if you want to see the documentation and source of a particular SciPy function, you can use single question mark (?) and double question mark (??). Let’s have a look at the example below −
Example
from scipy import io as scio scio.loadmat?
Output
View the source of loadmat() function as follows
from scipy import io as scio scio.loadmat??
- Related Articles
- How can we use various mathematical and physical constants in scipy library?
- What is the difference between SciPy and NumPy?
- What is interpolation and how can we implement it in the SciPy Python library?
- How can we use the SciPy library to solve a Linear equation?
- How we can call Python function from MATLAB?
- How can we call the invokeLater() method in Java?\n
- Can we call Fission as fragmentation?
- How can we call garbage collection (GC) explicitly in Java?
- How to produce documentation for Python functions?
- When can we call @JsonAnyGetter and @JsonAnySetter annotations in Java?\n
- How a WhatsApp call can be used for surveillance?
- How can we call one constructor from another in the same class in C#?
- What is SciPy and why should we use it?
- Can we call the breaking down of ozone a chemical change?
- Can we call methods using this keyword in java?

Advertisements