
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 10401 Articles for Python

250 Views
In this article we will get to know about various method using which we can find the prefix tuple records using python programming language. Tuple is an immutable sequence-like list whose value cannot be changed once assigned. Here prefix tuple is a collection of tuples which have a common prefix. Each element of tuple can be of any data type or it can also be in mixed form. Example records = [('Kalyan', 123), ('Gungun', 122), ('Komal', 456), ('Isestru', 789), ('Kosal', 321)] prefix = 'Ko' Here you can see we have list of records where tuples are there in ... Read More

338 Views
In this article we will learn how to find the prefix frequency in a string list using python. There are various ways to solve this program in python, we will look at some of them. Finding prefix frequency can help in finding the pattern and distribution of word uses in the string. Method 1: Using Simple for Loop Example def find_prefix_freq(strings, prefix): count = 0 for string in strings: if string.startswith(prefix): count += 1 ... Read More

174 Views
In this article we will learn about Power-Function distribution in statistics. We will checkout various methods using which we can analyze the power function distribution. In this post we will also know about how to fit the power function distributions if required. Before that let’s get to know about what Power-Function Distribution is. Power-Function Distribution This is continuous probability distribution used to model the data. Using the power function, we can analyze the small event which create some impact. Using the power function, we can get detail about rare events, identify outliers and can also make predictions about extreme values. ... Read More

184 Views
In this article we will get to know Power Normal Distribution, its application and uses. We will learn to analyze the distribution by the help of different methods including PDF and CDF. Before that let's see what Power Normal Distribution is. Power Normal Distribution Power Normal Distribution is same as normal distribution only difference is, this distribution includes the power parameter which is used to control the shape of the distribution. It provides us easy way for modeling the data which will show the characteristics of non-normal distribution. Let’s see the power normal distribution using various methods − Method 1: ... Read More

218 Views
In this article we will learn about Power Log-Normal Distribution, its application and uses. We will learn to analyze the distribution by the help of different methods including PDF and CDF. Before that let's see what Power Normal Distribution is. Power Log-Normal Distribution Power Log-Normal Distribution is variation of log-normal distribution. The only difference is, we obtain power log-normal distribution by applying power transformation into the log-normal distribution. Difference between the power normal distribution and the power log-normal distribution is the power normal distribution is the variation of normal distribution whereas power log-normal distribution is a variation of log-normal distribution. ... Read More

168 Views
This article we will learn about various methods using which a substring can be counted inside the given string. While working with python you may have come to a scenario when you need to check a given word has occurred how many times in the sentence or any string, so to get the count of substring inside the larger main stirring we will see some programs. Method 1: Using the Count Method This is a simple and easy built-in method in the python which allows us to count the substring inside the main string. Its time complexity is O(n). Example ... Read More

388 Views
In this article we will get to know about wxPython and we will create a program to make a pop-up item menu. Pop-up menus are graphical user interfaces (GUIs) which allow us to show some specific items and options. Here in this tutorial, we will learn how to create and implement popup menus in wxPython. It is a GUI toolkit for python language which provides us with a set of bindings and allows developers to create cross platform applications having native interface. Installing wxPython Using pip Command pip install wxPython in case it is not getting installed type ... Read More

803 Views
Pairwise distance calculation is used in various domains including data analysis, machine learning and image processing. We can calculate the pairwise distance between every pair of elements in each dataset. In this article we will get to know about various methods to calculate pairwise distances in python for arrays representing data in multiple dimensions. We will also get to know about the pdist function available in the SciPy library. Pairwise Distance One thing to remember: While calculating the pairwise distance in n-dimensional space we have to find the distance between each pair of points. You can choose any distance metrics ... Read More

398 Views
Jupyter Notebook Extension in Visual Studio Code: Introduction A well-known web-based interactive environment for data analysis and scientific computing is Jupyter Notebook. It enables users to create and distribute documents with narrative text, live code, mathematics, and visualization. Python, R, and Julia are just a few of the programming languages supported by Jupyter Notebook. Jupyter Notebook offers a wide range of functionality, such as data visualization tools, scientific computing libraries, and data manipulation tools, to help users with data analysis. The web-based environment of Jupyter Notebook can be constrictive in terms of performance and user experience, despite the fact ... Read More

456 Views
Julia Fractal in Python: Introduction Fractals are intriguing mathematical entities that display complex and repetitive patterns. The Julia fractal, which bears the name of French mathematician Gaston Julia, is one such fascinating fractal. Iterating a straightforward mathematical function over complex integers creates the Julia fractal. In the fields of mathematics and computer graphics, it has been a topic of research and investigation. We will explore the world of Julia fractals and discover how to make them using Python in this article. Julia Fractal in Python Definition An intricate iterative function serves as the formula for the Julia fractal. It is ... Read More