
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 26504 Articles for Server Side Programming

4K+ Views
Pandas is a Python library used for data manipulation and analysis. It is built on top of the numpy library and provides an efficient implementation of a dataframe. A dataframe is a two-dimensional data structure. In a dataframe, data is aligned in rows and columns in a tabular Form. It is similar to a spreadsheet or an SQL table or the data.frame in R. The most commonly used pandas object is DataFrame. Mostly, the data is imported into pandas dataframe from other data sources like csv, excel, SQL, etc. In this tutorial, we will learn to create an empty dataframe ... Read More

368 Views
Those who wish to practice their Python skills and learn how to develop a small web app can quickly and amusingly create an age calculator web app using PyWebIO in Python. Interactive online apps are simple to construct thanks to the Python library PyWebIO. This project's online age calculator uses PyWebIO to determine a user's age based on their birthdate. To calculate dates for this web application, we'll use the datetime package that comes with Python by default. The software requires the user's name and birthdate, which then calculates their age in years using the current date. The output will ... Read More

2K+ Views
We will learn about how to create Abstract Model Class in Django. An abstract model class in Django is a model that is used as a template for other models to inherit from rather than one that is meant to be created or saved to the database. In an application, similar fields and behaviours shared by several models can be defined using abstract models. With Django, you define a model class that derives from Django.db.models to establish an abstract model class. Model and set True for the abstract attribute. The attributes and methods of this abstract class will be inherited ... Read More

388 Views
Ternary plots are a useful way to display compositional data where three variables add up to a constant value. Plotly is a powerful plotting library that can be used to create interactive ternary plots with ease. In this tutorial, we will explore how to create a Ternary Overlay using Plotty. We are going to illustrate two examples to create an overlay using Plotly. By the end, we will learn the use Plotly to create stunning and informative ternary overlays. To create a Ternary Overlay using Plotly, we use the ‘scatterternary’ trace type. This trace type creates a scatter plot on ... Read More

1K+ Views
In this tutorial, we will learn to create a Triangle Correlation Heatmap in seaborn; as the name sounds, Correlation is a measure that shows the extent to which variables are related. Correlation heatmaps are a type of plot that represents the relationships between numerical variables. These plots are used to understand which variables are related to each other and the strength of their relationship. Whereas a heatmap is a two-dimensional graphical representation of data using different colors. Seaborn is a Python library that is used for data visualization. It is useful in making statical graphs. It builds on top of ... Read More

4K+ Views
For using arrays in Python, NumPy is commonly used. Sometimes, the data is stored in a multidimensional or 3D array. If loadtxt() or savetxt() functions are used to save or load the array data, it will require a 2d array. If the 3D array is used, then it will give this error – “ValueError: Expected 1D or 2D array, got 3D array instead”. So, in this Python and Numpy article, using two different examples, code is written to show the process of saving arrays and loading arrays while using savetxt() and loadtxt() functions and working with 3D arrays. In the ... Read More

6K+ Views
In this article, the user will understand how to lowercase the column names in Pandas dataframe. Using three different examples, the ways are given for converting the dataframe columns in lowercase. For these examples, a Zomato dataset given on Kaggle is used. The kaggle dataset was available in CSV (Comma Separated Values) format so it was first downloaded and then it was converted into a dataframe by using pandas. In the first example, the python program uses a str.lower() function for the lowercase conversion of the column vales. In the second example, the map(str.lower) function is used for converting the ... Read More

5K+ Views
Sometimes, the task is to analyze a dataset and use the data from a TSV (Tab Separated Values) file. For this, the TSV file is sometimes converted to a dataframe. A dataframe is a labeled two-dimensional structure that has different types of columns. In this article, using two different examples, this Python library called pandas is used with Python code to read a TSV file and load it into a dataframe. For these examples, a Zomato dataset given on Kaggle is used. The Kaggle dataset was available in CSV (Comma Separated Values) format so it was first downloaded and then ... Read More

9K+ Views
The strength and direction of the correlation between two pairs of variables in a dataset are displayed graphically in a correlation heatmap, which depicts the correlation matrix. It is an effective technique for finding patterns and connections in massive datasets. The Python data visualization toolkit Seaborn offers simple utilities for producing statistical visuals. Users can quickly see the correlation matrix of a dataset thanks to its feature for creating correlation heatmaps. We must import the dataset, compute the correlation matrix of the variables, and then use the Seaborn heatmap function to produce the heatmap to construct a correlation heatmap. The ... Read More

14K+ Views
A scatter plot is a data visualisation that displays the relationship between two variables. A marker or symbol is placed on the plot at the coordinates corresponding to each data point's values for the two variables, representing that data point. The graphic can aid in finding patterns, trends, and outliers in the data. Scatter plots and other types of data visualisation can be made using the well-known Python module Matplotlib. By giving a list of colours that each plot point should belong to, the user may use Matplotlib to produce a scatter plot with various hues. This way, we can ... Read More