- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Pradeep Elance has Published 446 Articles
Pradeep Elance
221 Views
Many times we need to count the elements present in a list for some data processing. But there may be cases of nested lists and counting may not be straight forward. In this article we will see how to handle these complexities of counting number of elements in a list.With ... Read More
Pradeep Elance
274 Views
In this article we are going to see how to count the numbers of pairs of numbers which have an exact difference equal to k. The given numbers are in form of a list and we supply the value of k to the program.Using for LoopIn this approach we design ... Read More
Pradeep Elance
478 Views
Pandas is a famous python library that Is extensively used for data processing and analysis in python. In this article we will see how to use the .iloc method which is used for reading selective data from python by filtering both rows and columns from the dataframe.iloc method processes data ... Read More
Pradeep Elance
264 Views
Sometimes we may have a need to refine a given list by eliminating the duplicate elements in it. This can be achieved by using a combination of various methods available in python standard library.with set and splitThe split method can be used to segregate the elements for duplicate checking and ... Read More
Pradeep Elance
408 Views
The dir() function returns list of the attributes and methods of any object like functions , modules, strings, lists, dictionaries etc. In this article we will see how to use the dir() in different ways in a program and for different requirements.Only dir()When we print the value of the dir() ... Read More
Pradeep Elance
1K+ Views
Multiplying two lists in python can be a necessity in many data analysis calculations. In this article we will see how to multiply the elements of a list of lists also called a nested list with another list.Using LoopsIn this approach we design tow for loops, one inside another. The ... Read More
Pradeep Elance
112 Views
Sometimes when creating a matrix using python we may need to control how many times a given element is repeated in the resulting matrix. In this articled we will see how to create a matrix with required number of elements when the elements are given as a list.Using zipWe declare ... Read More
Pradeep Elance
369 Views
Pandas is a very widely used python library for data processing and data analysis. In this article we will see how we we can create pandas dataframe from given python dictionaries and lists.From dictionary with listsDictionaries are key value pairs. If we take a python dictionary which has key and ... Read More
Pradeep Elance
174 Views
Pandas creates data frames to process the data in a python program. In this article we will see how we can add a new column to an existing dataframe based on certain conditions.The Given Data FrameBelow is the given pandas DataFrame to which we will add the additional columns. It ... Read More
Pradeep Elance
791 Views
Python’s wide availability of libraries enables it to interact with Microsoft excel which is a very widely used data processing tool. In this article we will see how we can use the module named xlsxwriter to create and write into a excel file. It cannot write into existing excel file.Writing ... Read More
To Continue Learning Please Login
Login with Google