
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 33676 Articles for Programming

959 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

985 Views
This tutorial will discuss how to write swift program to find minimum set element using library function. Set is a primary collection type in Swift. It is an unordered collection which stores unique values of same data type. You are not allowed to store different type of values in the same set. A set can be mutable or immutable. To find the smallest set element Swift provide an in-built function named min(). This function return minimum element from the given set. It will return nil if the given set is empty. Here the returned object of type Optional . So ... Read More

1K+ Views
This tutorial will help us in multiplying two floating point numbers. The multiplication is simply an arithmetic mathematical operation. In Haskell, floating point numbers are represented as values of the Float or Double type. You can use the (*) operator or the multiply() function to multiply two floating point numbers in Haskell. Alternatively, we can also use (/) operator to multiply two floating point numbers by dividing 1 by the reciprocal of the second number. Method 1: Using Multiply Function This method uses multiply() function to multiply two floating point numbers. The function is defined before the main function, as ... Read More

520 Views
In this tutorial we will see how to convert a number into a rational number using Go programming language. A rational number is a type of real number, which is in the form of p/q where q is not equal to zero. Any fraction with non-zero denominators is a rational number. Some of the examples of rational numbers are 1/2, 1/5, 3/4, and so on. Syntax funcNewRat(a, b int64) *Rat NewRat creates a new Rat with numerator a and denominator b Syntax for Scanln: Func Scanln(a…interface{}) (n int, err error) Package math/big implements arbitrary-precision arithmetic (big numbers). ... Read More

191 Views
This tutorial will discuss how to write a Swift program to find the hyperbolic arctangent of given radian value − atanh(a) = 1/2 * ln(1+a/1-a) In Swift, we can calculate the hyperbolic arctangent of the given radian value using the in-built atanh() function. This function returns the hyperbolic arctangent value of the specified number. Here, the specified number represents an angle. Syntax Following is the syntax − atanh(Num) Here, the value of Num can be of integer, float, or double type. The value of Num should be in between -1 to 1 range. If the value of Num is ... Read More

9K+ Views
Plotly is an open-source Python library for creating charts. In this tutorial, we will show how you can use the features of Plotly to display specific axis tick values. Let us understand how to show all the X-axis tick values, Use plotly.graph_objects to generate figures. It contains a lot of methods to customize chart and render a chart into HTML format. Update_layout() method has X-axis parameter and the value must be assigned as tickmode='linear'. Follow the steps given below to show all the X-axis tick values. Step 1Import plotly.graphs_objs module and alias as go import plotly.graphs_objs as go ... 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

3K+ Views
Plotly supports two different libraries "Plotly graphs in a Dash app" and "Plotly Graph objects in Plotly Express". Dash is a Python framework and it is used to create interactive web-based dashboard applications. The dash library adds all the required libraries to web-based dashboard applications Import dash core components and html components. Add plotly.express method to generate graphs. Use the Dcc.Graph() method to set the style for height and width coordinates. In this tutorial, we will show how you can add multiple graphs to a Plotly Dash app on a single browser page. Follow the steps given below to generate ... Read More

30K+ Views
Plotly supports to the range on both X and Y axis. Let us understand how to set the range of Y-axis in Plotly. plotly.graph_objects is used to generate figures. It contains a lot of methods to customize charts and render a chart in HTML format. Create a numpy module and generate random ranges for both X and Y axis. Create Figure() method to plot X and Y axis with mode as lines Create update_layout() method and set the Y-axis range. Follow the steps given to set the range of Y-axis in Plotly. Step 1 − Import plotly Import ... Read More