Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Three 90 Challenge: Bigger and Better
As we transit into the new phase, it's essential to fuel our inner drive for success. On popular demand, GeeksforGeeks is happy to announce that we are back with the Thre...
Read More
One Liner for Python if-elif-else Statements
If-elif-else statement is used in Python for decision-making i.e the program will evaluate test expression and will execute the remaining statements only if the given test...
Read More
Technical Scripter
Python
python-basics
Technical Scripter 2020
How to Set Plot Background Color in Matplotlib?
Prerequisites:MatplotlibNumpyFrom the below figure one can infer that a plot consists of X-axis, Y-axis, plot title and the axes. By default, the color of the plot is whit...
Read More
Technical Scripter
Python
Python-matplotlib
Technical Scripter 2020
Viewing all defined variables in Python
In this article, we are going to discuss how to view all defined variables in Python. Viewing all defined variables plays a major role while debugging the code.Method 1: U...
Read More
Python
python-basics
How to Print Multiple Arguments in Python?
An argument is a value that is passed within a function when it is called.They are independent items, or variables, that contain data or codes. During the time of call eac...
Read More
Python
Python-Functions
Picked
Python function-programs
How to remove the frame from a Matplotlib figure in Python?
A frame in the Matplotlib figure is an object inside which given data is represented using independent Axes. These axes represent left, bottom, right and top which can be ...
Read More
Technical Scripter
Python
Picked
Python-matplotlib
Technical Scripter 2020
Python program to print current year, month and day
In this article, the task is to write a Python Program to print the current year, month, and day.Approach:In Python, in order to print the current date consisting of a yea...
Read More
Technical Scripter
Python
Python Programs
Python-datetime
Python datetime-program
Technical Scripter 2020
Python GUI - PyQt VS TKinter
A GUI toolkit contains widgets that are used to create a graphical interface. Python includes a wide range of Interface implementations available, from TkInter (it comes w...
Read More
Python
Difference Between
Python-PyQt
Python-tkinter
Python-gui
Convert class object to JSON in Python
Conversion of the class object to JSON is done using json package in Python. json.dumps() converts Python object into a json string. Every Python object has an attribute w...
Read More
Python
Picked
Python-json
Python json-programs
Count Values in Pandas Dataframe
In this article, we are going to count values in Pandas dataframe. First, we will create a data frame, and then we will count the values of different attributes.Syntax: Da...
Read More
Python
Picked
Python-pandas
Python pandas-dataFrame
Python Pandas-exercise
Python program to find the sum of Characters ascii values in String List
Given the string list, the task is to write a Python program to compute the summation value of each character's ASCII value.Examples:Input : test_list = ["geeksforgeeks", ...
Read More
Python
Python Programs
ASCII
Python list-programs
Python string-programs
How to create an empty matrix with NumPy in Python ?
The term empty matrix has no rows and no columns. A matrix that contains missing values has at least one row and column, as does a matrix that contains zeros. Numerical Py...
Read More
Python
Python-numpy
Picked
Python numpy-Matrix Function
How to generate a random color for a Matplotlib plot in Python?
Handling huge dataset requires libraries and methods that can be used to store, analyze and manipulate the datasets. Python is a popular choice when it comes to data scien...
Read More
Technical Scripter
Python
Python-matplotlib
Technical Scripter 2020
How to Fill Between Multiple Lines in Matplotlib?
With the use of the fill_between() function in the Matplotlib library in Python, we can easily fill the color between any multiple lines or any two horizontal curves on a ...
Read More
Python
Python-matplotlib
How to Create Multiple Subplots in Matplotlib in Python?
To create multiple plots use matplotlib.pyplot.subplots method which returns the figure along with the objects Axes object or array of Axes object. nrows, ncols attributes...
Read More
Python
Python-matplotlib
Hide Axis, Borders and White Spaces in Matplotlib
When we draw plots using Matplotlib, the ticks and labels along x-axis y-axis are drawn too. For drawing creative graphs, many times we hide x-axis y-axis.How to hide ax...
Read More
Technical Scripter
Python
Picked
Python-matplotlib
Technical Scripter 2020
1
...
6736
6737
6738
...
11245