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
Python Articles - Page 210 of 929
310 Views
In this article, we will show you a list of a few statistical methods of NumPy library in python. Statistics is dealing with collecting and analyzing data. It describes methods for collecting samples, describing data, and concluding data. NumPy is the core package for scientific calculations, hence NumPy statistical Functions go hand in hand. Numpy has a number of statistical functions that can be used to do statistical data analysis. Let us discuss a few of them here. numpy.amin() and numpy.amax() These functions return the minimum and the maximum from the elements in the given array along the specified axis. ... Read More
3K+ Views
In this article, we will look into a python program to calculate the volume and area of a cylinder. A cylinder is defined as a 3D object that has two circles connected with a rectangular surface. The special thing about a cylinder is that even though it is measured using just two dimensions, i.e. the height and radius, the cylinder is considered a three-dimensional figure as it is measured in xyz coordinate axes. The area of the cylinder is calculated is two ways− area of the lateral surface and area of the total surface. Lateral surface area is only the ... Read More
7K+ Views
A cube is a three-dimensional solid figure with six faces, twelve edges and eight vertices. This geometrical figure has equal sized edges, hence making all its dimensions − length, width and height − equal. The idea of calculating the volume of a cube can be understood in a simple way. Consider a real-time situation where a person a moving houses. Suppose they use a hollow cube shaped cardboard box to place their things in it, the amount of space present to fill it up is defined as the volume. The mathematical formula to calculate the volume of a cube ... Read More
4K+ Views
To calculate the area of a cube, let us first revise the concept of a cube. A cube is a geometrical figure containing three dimensions: length, width, and height with all the dimensions having equal measurements. It has six square faces, four of which are lateral surfaces and the other two are the cube's top and bottom surfaces. The requirement to find the surface area is just knowing the length a single edge. The area of a cube is found using the following steps − Find the area of one square face with the given edge Four times ... Read More
457 Views
What is Big Data? Big Data is a massive collection of data that is growing exponentially over time. It is a data set that is so large and complex that traditional data management tools cannot store or process it efficiently. Big data is a type of data that is extremely large in size. Python is the ideal programming language for Big Data due to its ease of use and statistical analysis capabilities. Python is a rapidly growing programming language, and a combination of Python and Big Data is the most popular choice among developers due to its low coding requirements ... Read More
590 Views
In this article, we will show you various Python libraries for visualization and their features. In today's day and age, viewing the results of our analysis and inferring results is often more convenient than going through textual data or CSV files to understand the results. As a result, data visualization is an easy way to find answers to complex questions. It also allows users to express their results more effectively than tables do. Data Visualization in Python Python provides several plotting libraries, including Matplotlib, Seaborn, and many other data visualization packages, each with unique features for creating informative, customized, and ... Read More
18K+ Views
In this article, we will show you how to convert a dictionary to a matrix or a NumPy array using the array() function of the NumPy library in python. It is sometimes necessary to convert a dictionary in Python into a NumPy array, and Python provides an efficient way of doing so. Converting a dictionary to a NumPy array gives an array containing the key-value pairs in the dictionary. In this section, we will look at examples of converting various types of dictionaries to a NumPy array in Python Converting a Dictionary to a Numpy Array Converting a Nested ... Read More
1K+ Views
Python is a computer programming language that is frequently used to create websites and software, automate tasks, and analyze data. Data Analysis Data analysis is defined as the process of cleaning, transforming, and modeling data in order to find useful information for business decisions. The goal of data analysis is to extract useful information from data and make decisions based on that information. In this article, we will explain how python data analysis libraries are used NumPy - Fundamental Scientific Computing NumPy is an abbreviation for Numerical Python. The n-dimensional array is NumPy's most powerful feature. This library also includes ... Read More
4K+ Views
Plotly is an open-source Python library for creating charts. You can use the features available in Plotly to save multiple plots into a single HTML file. For example, plotly.subplots() method can be used to add multiple plots. Follow the steps given to create subplots with Plotly express. Step 1 Import plotly.graphs_objs module and alias as go import plotly.graphs_objs as go Step 2 Import make_subplots to create subplots. from plotly.subplots import make_subplots Step 3 Import plotly offline plot. from plotly.offline import plot Step 4 Create traces for two scatter plots and store it inside figure. fig.add_trace(go.Scatter(x=[0, 1, 2], y=[5, 6, 7]), ... Read More
1K+ Views
Plotly has features to group data values. You can also highlight all the values from a group on hover. In this tutorial, we will use plotly.io to generate the figures. It contains a lot of methods to customize the charts. Follow the steps given below to highlight all the values from a group on hover. Step 1 Import the plotly.io module and alias as pio. import plotly.io as pio Step 2 Create a list of values to form a dictionary. fonts = ['Arial', 'Arial', 'Courier', 'Arial', 'Courier', 'Arial'] shade = ['bold', 'bold', 'italic', 'italic', 'bold', 'bold'] score = [1, 2, ... Read More