- 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
Prasad Naik has Published 74 Articles
![Prasad Naik](https://www.tutorialspoint.com/assets/profiles/318467/profile/60_239124-1617874456.jpg)
Prasad Naik
962 Views
In this program, we will draw a simple line on an image using the OpenCV function line().Original ImageAlgorithmStep 1: Import cv2. Step 2: Read the image using imread(). Step 3: Get the dimensions of the image using the image.shape method. Step 4: Define starting point of the line. Step 5: ... Read More
![Prasad Naik](https://www.tutorialspoint.com/assets/profiles/318467/profile/60_239124-1617874456.jpg)
Prasad Naik
215 Views
The datetime module supplies classes for manipulating dates and time. We will display different formats like day of the week, week number, day of the year, etc.AlgorithmStep 1: Import datetime. Step 2: Print day of the week. Step 3: Print week number. Step 4: Print day of the year.Example CodeLive ... Read More
![Prasad Naik](https://www.tutorialspoint.com/assets/profiles/318467/profile/60_239124-1617874456.jpg)
Prasad Naik
447 Views
In this program, we will plot a bar graph using the matplotlib library. The most important Step in solving matplotlib related problems using the matplotlib library is importing the matplotlib library. The syntax is:import matplotlib.pyplot as pltPyplot is a collection of command style functions that make Matplotlib work like MATLAB. ... Read More
![Prasad Naik](https://www.tutorialspoint.com/assets/profiles/318467/profile/60_239124-1617874456.jpg)
Prasad Naik
760 Views
In this program, we will plot a bar graph using the matplotlib library. The most important Step in solving matplotlib related problems using the matplotlib library is importing the matplotlib library. The syntax is:import matplotlib.pyplot as pltPyplot is a collection of command style functions that make Matplotlib work like MATLAB. ... Read More
![Prasad Naik](https://www.tutorialspoint.com/assets/profiles/318467/profile/60_239124-1617874456.jpg)
Prasad Naik
206 Views
In this program, we will plot a bar graph using the matplotlib library. The most important Step in solving matplotlib related problems using the matplotlib library is importing the matplotlib library. The syntax is −import matplotlib.pyplot as pltPyplot is a collection of command style functions that make Matplotlib work like ... Read More
![Prasad Naik](https://www.tutorialspoint.com/assets/profiles/318467/profile/60_239124-1617874456.jpg)
Prasad Naik
794 Views
In this task, we will find the length of strings in a Pandas series. We will use the str.len() function in the Pandas library for this purpose.AlgorithmStep 1: Define a Pandas series of string. Step 2: Find the length of each string using the str.len() function. Step 3: Print the ... Read More
![Prasad Naik](https://www.tutorialspoint.com/assets/profiles/318467/profile/60_239124-1617874456.jpg)
Prasad Naik
135 Views
In this program, we will convert a date string like "24 August 2020" to 2020-08-24 00:00:00. We will use the to_datetime() function in pandas library to solve this task.AlgorithmStep 1: Define a Pandas series containing date string. Step 2: Convert these date strings into date time format using the to_datetime ... Read More
![Prasad Naik](https://www.tutorialspoint.com/assets/profiles/318467/profile/60_239124-1617874456.jpg)
Prasad Naik
679 Views
A regular expression is a sequence of characters that define a search pattern. In this program, we will use these regular expressions to filter valid and invalid emails.We will define a Pandas series with different emails and check which email is valid. We will also use a python library called ... Read More
![Prasad Naik](https://www.tutorialspoint.com/assets/profiles/318467/profile/60_239124-1617874456.jpg)
Prasad Naik
973 Views
A percentile is a term used in statistics to express how a score compares to other scores in the same set. In this program, we have to find nth percentile of a Pandas series.AlgorithmStep 1: Define a Pandas series. Step 2: Input percentile value. Step 3: Calculate the percentile. Step ... Read More