Pradeep Elance has Published 417 Articles

Usage of Asterisks in Python

Pradeep Elance

Pradeep Elance

Updated on 04-Feb-2020 06:29:16

268 Views

Python programming language uses both * and ** on different contexts. In this article we will see how these two are used and what the respective useful scenarios.As an Infix OperatorWhen * is used as infix operator, it basically gives the mathematical product of numbers. IN the below example we ... Read More

Statistical Thinking in Python

Pradeep Elance

Pradeep Elance

Updated on 04-Feb-2020 06:22:13

372 Views

Statistics is fundamental to learn ml and AI. As Python is the language of choice for these Technologies, we will see how to write Python programs which incorporate statistical analysis. In this article we will see how to create graphs and charts using various Python modules. This variety of charts ... Read More

Python for Spreadsheet Users

Pradeep Elance

Pradeep Elance

Updated on 04-Feb-2020 06:12:44

232 Views

Excel is the most famous spreadsheet and almost every computer user is comfortable with the idea of managing the data through spreadsheets. Eventually some python program has to interact with excel. Many python libraries are available to create, read and write into excel files. We will see the examples of ... Read More

Predicting Customer Churn in Python

Pradeep Elance

Pradeep Elance

Updated on 04-Feb-2020 06:07:21

600 Views

Every business depends on customer's loyalty. The repeat business from customer is one of the cornerstone for business profitability. So it is important to know the reason of customers leaving a business. Customers going away is known as customer churn. By looking at the past trends we can judge what ... Read More

Fraud Detection in Python

Pradeep Elance

Pradeep Elance

Updated on 04-Feb-2020 05:43:44

3K+ Views

Frauds are really in many transactions. We can apply machine learning algorithms to lies the past data and predict the possibility of a transaction being a fraud transaction. In our example we will take credit card transactions, analyse the data, create the features and labels and finally apply one of ... Read More

Fast XML parsing using Expat in Python

Pradeep Elance

Pradeep Elance

Updated on 04-Feb-2020 05:30:44

1K+ Views

Python allows XML data to be read and processed through its inbuilt module called expat. It is a non-validating XML parser. it creates an XML parser object and captures the attributes of its objects into various handler functions. In the below example we will see how the various handler functions ... Read More

What are the calling conventions for UNIX & Linux system calls on i386 and x86-64

Pradeep Elance

Pradeep Elance

Updated on 31-Jan-2020 12:20:25

848 Views

A system call is the fundamental interface between an application and the Linux kernel. When a Unix/Linux program does a file I/O, network data transfer or invokes some process which directly or indirectly interact with the low level instructions, then system call is involved. Making these calls usually involves using ... Read More

Linux WC Command Examples to Count Number of Lines, Words, Characters

Pradeep Elance

Pradeep Elance

Updated on 31-Jan-2020 12:19:34

471 Views

The wc command also known as word count command is a fundamental command any Linux user should be aware of. It is mostly used with the l switch to do a line count, but it can actually give count of multiple things with various arguments supplied to it. Below is ... Read More

Windows registry access using Python (winreg)

Pradeep Elance

Pradeep Elance

Updated on 07-Jan-2020 06:53:49

6K+ Views

As a versatile language and also availability of very large number of user supported modules, we find that python is also good at OS level programming. In this article we will see how python can access the registry of a windows operating system.We need to import the module named winreg ... Read More

Python - Filter the negative values from given dictionary

Pradeep Elance

Pradeep Elance

Updated on 07-Jan-2020 06:48:05

530 Views

As part of data analysis, we will come across scenarios to remove the negative values form a dictionary. For this we have to loop through each of the elements in the dictionary and use a condition to check the value. Below two approaches can be implemented to achieve this.Using for ... Read More

Advertisements