html page

Read a web page’s tabular data using Pandas

So you have seen a tabular data on one of the internet page, say on wiki. You were amazed to see some data facts mentioned by some fellow mate. You wanted to bring that data onto your computer. May be you wanted to perform analysis or visualization or even make some predictions using machine learning. This post is...


Sock Merchant Problem: How to Solve using Python?

The below problem is a very famous Online problem, that can be solved in number of ways. We have solved below the Sock Merchant problem in the most efficient way using Python. Problem Statement: Raj works at a clothing store. He has a large pile of socks that he must pair by color for sale. Given an array of integers...

list comprehension code

List Comprehension for Prime Numbers

What is List Comprehension? List Comprehension is a smarter way of writing a code whose output was supposed to be a list that was using for loop and may be some if statements. The words "List" + "Comprehension" speak for themselves. We are trying to comprehend whatever was written in such a way that the output that was to be...

Data Science using Python or R

Data Science with Python or R?

Data Science with Python or R - Which is better? Harvard Business Review rated "Data Science" as the sexiest job of the 21st Century. According to the recent study by LinkedIn, Data Science and Machine Learning engineers are the job roles which are in demand. NASSCOM has predicted that India's Analytics market will be worth over $2 Billion, creating over...

advance python course

Python training in Bangalore

Procode tech provides you the best python training in Bangalore. Our trainers are IT professionals who have over 7+ yrs of work experience in Python. You will not only get to learn the language but also learn the industry standard that is expected from an resource these days. Our Mission: Our mission is to make Procode Tech the preferred technical...

super in python

“Super” in python: why and when to use

One of the primary OOPS concept that dominates python is Inheritance. Super is useful for accessing inherited methods that have been overridden in a class. For more theory details, refer Python's official doc on Super. Lets start with practical example: [code language="python"] class A(object): print ("I am in class A") class B(A): print ("I am in class B") B_obj=B() [/code] In the above code we have defined two classes...