Data scraping is also called web scraping. It is the process of importing information or data from a website to the file saved on your computer. It is the most efficient way to get data from the web. In this article, we learn how to scrap data from the website using python selenium. What is
Creating ETL pipeline using Python
An ETL pipeline is a fundamental type of workflow in data engineering. The goal is to take data which might be unstructured or difficult to use and serve a source of clean, structured data. It is very easy to build a simple data pipeline as a python script. In this article, we tell you about
Why python is single threaded and GIL(Global Interpreter Lock)
GIL is a mutex lock in python which allows only one thread to execute at a time. This is why python is a single-threaded application. So if your program is single threaded python will perform as equal to any other language. But when it comes to multithreading and executing threads in parallel, it is not
What are Zip() and Unzip() in Python and how to use the.
Zip() is a built-in (built-in function are the function which are already define in programming framework) function. So basically zip() function takes any number of iterable and returns a list of tuples, the first element of a tuple is created using the first element from each of the iterables, and so on. Syntax- zip(*iterators) Practical
The Zen of Python and what it means. Decoding python philosophies.
Have you heard of zen of python? If not why don’t you type the below command in the python console. When you press enter few philosophies will come up and these are called the zen of python. In this article, we are going to see what these philosophies tell us exactly. Beautiful is better than
Getting started with Jupyter Notebook
Jupyter Notebooks are a very powerful tool for data analysis to write and iterate on your Python code. It is an open source tool to analyze data and find useful information from dataset. Installation of Jupyter Notebook. Prerequisite for installing Jupyter notebook is python3.3 or greater. We are using Anaconda distribution to Jupyter notebook as
DevOps Interview Questions: Important Python questions.
In few of the previous articles we started talking about questions that can come in DevOps and SRE interviews. In this article, we are continuing the trend by bringing you the python questions that can come in the interviews. You can look at the last article below. When we talk about python involvement in DevOps,
Writing metrics exporter for Prometheus using Python
How to use python to write prometheus exporter using python.
Log parsing in python using regular expressions.
Log parsing is a very basic problem for DevOps and SREs and we have a post on this regarding log parsing. You can find the post here In the earlier post, I have not used regex and have used only string manipulations to parse the logs. What is a regular expression? Regular expressions are a
Inorder traversal Python of a Binary Tree
Inorder traversal using python of a tree is as pretty easy if you know the concepts of dictionaries and classes. In this article, we will talk about the Inorder traversal Python of a Tree. Here we will be talking about binary trees. Tree and its inorder traversal using python. Binary tree is the tree where