- 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
Rishikesh Kumar Rishi has Published 1162 Articles
Rishikesh Kumar Rishi
79K+ Views
To append the rows of one dataframe with the rows of another, we can use the Pandas append() function. With the help of append(), we can append columns too. Let's take an example and see how to use this method.StepsCreate a two-dimensional, size-mutable, potentially heterogeneous tabular data, df1.Print the input ... Read More
Rishikesh Kumar Rishi
770 Views
In Golang, we can use the binary operators "&" (AND) and "|" (OR) to convert strings from lowercase to uppercase and vice versa. Let's take a simple example and understand how to use these binary operators in Golang. Examplepackage main import "fmt" func main(){ fmt.Printf("Lowercase characters using OR ... Read More
Rishikesh Kumar Rishi
4K+ Views
Librosa is a Python package that helps to analyse audio and music files. This package also helps to create music retrieval information systems. In this article, we will see how to save a Librosa spectrogram plot as an image of specific size.StepsSet the figure size and adjust the padding between ... Read More
Rishikesh Kumar Rishi
1K+ Views
To change the attributes of a netwrokx/matplotlib graph drawing, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Initialize a graph with edges, name, or graph attributes.Add the graph's attributes. Add an edge between u and v.Get the edge attributes from ... Read More
Rishikesh Kumar Rishi
2K+ Views
To fill an area within a polygon in Python using matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create a figure and a set of subplots.Get an instance of a polygon.Get the generic collection of patches with iterable polygons.Add ... Read More
Rishikesh Kumar Rishi
2K+ Views
To get data labels on a Seaborn pointplot, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create a dataframe, df, of two-dimensional, size-mutable, potentially heterogeneous tabular data.Create a pointplot.Get the axes patches and label; annotate with respective labels.To display the ... Read More
Rishikesh Kumar Rishi
713 Views
To draw a precision-recall curve with interpolation in Python, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Create r, p and duplicate recall, i data points using numpy.Create a figure and a set of subplots.Plot the recall matrix in the ... Read More
Rishikesh Kumar Rishi
14K+ Views
To plot additional points on the top of a scatter plot in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Make a list of x and y data points.Create a scatter plot with x and y data points.Plot the ... Read More
Rishikesh Kumar Rishi
2K+ Views
To make transparent error bars without affecting markers in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Make lists x, y and z for data.Initialize a variable error_bar_width=5Plot y versus x as lines and/or markers with attached errorbars.Set the ... Read More
Rishikesh Kumar Rishi
6K+ Views
To set legend marker size and alpha in matplotlib, we can take the following steps −StepsSet the figure size and adjust the padding between and around the subplots.Initialize a variable N to store the number of sample data.Plot the x and y data points with marker="*".Place a legend on the ... Read More