Image by author


Do you know Python has a built-in module called secrets that can be used to generate cryptographically strong passwords, tokens, and other related secrets? The secrets module was first introduced in Python 3.6 (PEP 506).

Before the introduction of the secrets module into Python, the random module was used by…


Image by the author (created from Canva)


When writing a program, we often want to create a copy of an object (int, float, list, tuple, dictionary, etc.). Because we want to use the copy (new) object without changing the content of the original.

There are a number of ways you can create a copy of the object…

PYTHON, Programming

Image by author


The programming languages such as C, C++, Java, etc. are statically typed languages meaning the data type of the variable must be declared before you can actually use it in your program. On the other hand, Python is a dynamically typed language which means that you don’t have to declare…

Data Science, Machine Learning

Image by the author (taken from Shapash web app)

Shapash lets you create a beautiful web app for interpreting your machine learning models in seconds as soon as you have the model ready. You don’t have to spend time creating web applications of your own. This saves a lot of time for you and your team. Isn’t this exciting…

Hands typing on a laptop computer.
Source: Unsplash

What are parameters and arguments? Most of the time we use the terms interchangeably — and that’s fine. However, it’s important that you understand the difference between the two. In this article, we’ll explore them in detail. Along the way, you’ll learn all you need to know about parameters and…

Machine Learning, Data Science


If you are looking for a database for storing your machine learning models then this article is for you. You can use MongoDB to store and retrieve your machine learning models. Without further adieu let’s jump to the main topic.


MongoDB is a very popular NoSQL database. In MongoDB, the…

Data Science, Machine Learning

Source: ONNX

The chances are high that you might have heard about ONNX but not sure what it does and how to use it. Don’t worry, you are in right place. In this beginner-friendly article, you will understand about ONNX. Let’s dive-in.

Assume that you built a deep learning model using the…

Actors silhouetted on a stage.
Photo by Kyle Head on Unsplash

In this article, you will get a thorough understanding of Python bool type, how it works, and how to effectively use it in your Python application. Let’s get started.

1. Bool Type

In Python, bool datatype is used to represent boolean values — True and False.

As you know, everything is an object…

Chetan Ambi

Data Science | Machine Learning | Python. Visit for interesting articles on Python and Machine Learning .

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store