Python - Hard Articles
python iter() method returns the iterator object, it is used to convert an iterable to the iterator. iter Function in Python Syntax The iter() method… Read More
pandas.pivot(index, columns, values) function produces a pivot table based on 3 columns of the DataFrame. Uses unique values from the index/columns and fills them with… Read More
Python property() function returns the object of the property class and it is used to create the property of a class.  In Python, the property() function is a built-in function… Read More
Prerequisite:Create and Write on excel file XlsxWriter is a Python library using which one can perform multiple operations on excel files like creating, writing, arithmetic… Read More
Prerequisite : Plotting charts in excel sheet using openpyxl module Set – 1 | Set – 2Openpyxl is a Python library using which one can… Read More
Project Title: CART(CROWD ANALYTICS in REAL TIME) INTRODUCTION: They say “Relevant, actionable data is your ace of spades”. But to play that card, one needs… Read More
OpenCV is an open-source computer vision and machine learning software library. Various image processing operations such as manipulating images and applying tons of filters can… Read More
The mode of a set of data values is the value that appears most often. It is the value at which the data is most… Read More
Python String expandtabs() Method specifies the amount of space to be substituted with the “\t” symbol in the string. Python String expandtabs() Method Syntax Syntax… Read More
Node.js is one of the most adopted web development technologies but it lacks support for machine learning, deep learning and artificial intelligence libraries. Luckily, Python… Read More
Given multiple ranges [L, R] and a prime number p, we need to find all P-smooth numbers in given individual ranges. What is P –… Read More
Given a list of numbers, Your task is to remove and print every third number from a list of numbers until the list becomes empty.… Read More
Given two numbers you are required to check whether they are anagrams of each other or not in binary representation. Examples: Input : a =… Read More
Given a string containing only digits, restore it by returning all possible valid IP address combinations.A valid IP address must be in the form of… Read More
numpy.sin(x[, out]) = ufunc ‘sin’) : This mathematical function helps user to calculate trigonometric sine for all x(being the array elements). Parameters :   array : [array_like]elements… Read More
We are given an array, find prefix sums of given array. Examples: Input : arr = [1, 2, 3] Output : sum = [1, 3,… Read More
Prerequisite : JSON Formatting in Python Google has an excellent web service that allows us to make use of their large database of geographic information.… Read More
Given a string S, c1 and c2. Replace character c1 with c2 and c2 with c1. Examples: Input : str = 'grrksfoegrrks' c1 = e,… Read More
This program uses python’s container called dictionary (in dictionary a key is associated with some information). This program will take a word as input and… Read More
Prerequisites: Know about Cyclic redundancy, Socket Programming What is CRC? CRC or Cyclic Redundancy Check is a method of detecting accidental changes/errors in the communication channel. CRC… Read More