What is Metric and Binary prefixes in Scipy explain with example

This recipe explains what is Metric and Binary prefixes in Scipy with example

Recipe Objective - What is Metric and Binary prefixes explain with example?

Metric and Binary are the unit categories. Each of the categories has different prefixes.

Metric (SI) Prefixes:

Metric prefixes returns the specific unit in meter.

Units in Metric Prefixes:

1.yotta

2.zetta

3.exa

4.peta

5.tera

6.giga

7.mega

8.kilo

9.hecto

10.deka

11.deci

12.centi

13.milli

14.micro

15.nano

16.pico

17.femto

18.atto

19.zepto

Example :

>>>from scipy import constants
>>>print(constants.yotta)
>>>print(constants.zetta)

Binary Prefixes:

Binary returns the specific unit in bytes.

Units in Binary Prefixes:

1.kibi

2.mebi

3.gibi

4.tebi

5.exbi

6.zebi

7.yobi

Example :

>>>from scipy import constants

>>>print(constants.kibi)
>>>print(constants.mebi)

What Users are saying..

profile image

Savvy Sahai

Data Science Intern, Capgemini
linkedin profile url

As a student looking to break into the field of data engineering and data science, one can get really confused as to which path to take. Very few ways to do it are Google, YouTube, etc. I was one of... Read More

Relevant Projects

Build an Image Segmentation Model using Amazon SageMaker
In this Machine Learning Project, you will learn to implement the UNet Architecture and build an Image Segmentation Model using Amazon SageMaker

PyTorch Project to Build a GAN Model on MNIST Dataset
In this deep learning project, you will learn how to build a GAN Model on MNIST Dataset for generating new images of handwritten digits.

Learn How to Build PyTorch Neural Networks from Scratch
In this deep learning project, you will learn how to build PyTorch neural networks from scratch.

Natural language processing Chatbot application using NLTK for text classification
In this NLP AI application, we build the core conversational engine for a chatbot. We use the popular NLTK text classification library to achieve this.

Build a Customer Churn Prediction Model using Decision Trees
Develop a customer churn prediction model using decision tree machine learning algorithms and data science on streaming service data.

MLOps Project for a Mask R-CNN on GCP using uWSGI Flask
MLOps on GCP - Solved end-to-end MLOps Project to deploy a Mask RCNN Model for Image Segmentation as a Web Application using uWSGI Flask, Docker, and TensorFlow.

Insurance Pricing Forecast Using XGBoost Regressor
In this project, we are going to talk about insurance forecast by using linear and xgboost regression techniques.

NLP Project for Multi Class Text Classification using BERT Model
In this NLP Project, you will learn how to build a multi-class text classification model using using the pre-trained BERT model.

Hands-On Approach to Regression Discontinuity Design Python
In this machine learning project, you will learn to implement Regression Discontinuity Design Example in Python to determine the effect of age on Mortality Rate in Python.

Build an optimal End-to-End MLOps Pipeline and Deploy on GCP
Learn how to build and deploy an end-to-end optimal MLOps Pipeline for Loan Eligibility Prediction Model in Python on GCP