Posts from Python

Python help() function with example

By Ranjeet V

This tutorial will teach you about the Python help() function. The help() function displays the documentation of an object. This is a built-in function and prints a help page when .... Read More

getpass() and getuser() functions in python

By Ranjeet V

Hello guys, in this tutorial, we are going to learn about getpass() and getuser() functions in Python. Both of these functions are present in the getpass module of Python. These fu.... Read More

Creating Directories using os.makedirs() in Python

By Ranjeet V

In this tutorial, we are going to learn how we can create directories using os.makedirs() in Python. As we know, the OS module in Python helps us to interact with the operating sys.... Read More

How to get Phone Number details using Python

By Ranjeet V

In this article, we are going to learn how to get phone number details in Python. There is a very interesting and useful library with the name ‘phonenumbers’. We will b.... Read More

__reversed__ magic method in Python with examples

By Ranjeet V

Hello everyone, in this post, we will talk about the __reversed__ magic method in Python with examples. Like other magic methods, this special method also begins and ends with a pa.... Read More

numpy.isnat() method in python with examples

By Ranjeet V

In this Python tutorial, we are going to learn about numpy.isnat() method. This method helps in figuring out whether the value returned by numpy.datetime64() and numpy.timedelta64(.... Read More

Label encoding of datasets in Python

By Ranjeet V

Hey guys, in this tutorial we will learn about label encoding of datasets in Python. Normally in machine learning algorithms, when we import a dataset, it consists of many categori.... Read More

Math expm1() method in Python math library

By Ranjeet V

There are many mathematical methods in the Python math library. The method that we will be talking about today is the expm1() method. This method is used to find the value of exp(x.... Read More