[PYTHON] Pharmaceutical company researchers summarized SciPy

Introduction

SciPy is a library for performing scientific and technological calculations. Here, we will explain the methods that are often used in SciPy. It is supposed to use Python3 series.

import

Import the library using one of the following methods.

SciPy_1.py


import Scipy as sp

from SciPy import module name

Integral

You can use scipy.integrate.quad for integration.

SciPy_2.py


from scipy.integrate import quad


def my_func(x):
    return x**2 + 2*X + 3

result, error = integrate.quad(my_func, 0, 10)

Summary

Here, we have introduced the methods that are often used in SciPy. Basic calculations can often be done with NumPy, but when it comes to a little more advanced, SciPy is needed.

Reference materials / links

What is the programming language Python? Can it be used for AI and machine learning?

Recommended Posts

Pharmaceutical company researchers summarized SciPy
Pharmaceutical company researchers summarized RDKit
Pharmaceutical company researchers summarized scikit-learn
Pharmaceutical company researchers summarized Pandas
Pharmaceutical company researchers summarized NumPy
Pharmaceutical company researchers summarized Matplotlib
Pharmaceutical company researchers summarized Seaborn
Pharmaceutical company researchers summarized Python's comprehensions
Pharmaceutical company researchers summarized Python unit tests
Pharmaceutical company researchers summarized classes in Python
Pharmaceutical company researchers summarized functions in Python
Pharmaceutical company researchers summarized Python exception handling
Pharmaceutical company researchers summarized Python coding standards
Pharmaceutical company researchers summarized variables in Python
Pharmaceutical company researchers summarized regular expressions in Python
Pharmaceutical company researchers summarized web scraping using Python
Pharmaceutical company researchers summarized file scanning in Python
Pharmaceutical company researchers summarized database operations using Python
Pharmaceutical company researchers have summarized the operators used in Python
How to install Python for pharmaceutical company researchers
A pharmaceutical company researcher summarized the basic description rules of Python