-
Web Scraping with Python
What is Web Scraping? Today we are going to see, How to do web scraping using Python? Extracting or fetching content/data from a website/websites can be called as Web Scraping. It is an automated, programmatic process by which data can be constantly scraped (extracted) from webpages. We can extract underlying HTML (Hyper Text Markup Language),…
-
Security and Cryptography with Python
Python is one of the famous programming languages among users due to its vast applications and libraries.Python has great potential in security and cryptography.Let us explore different cryptographic features and implementation in Python and its uses in computer and network security to hashing and encryption/decryption algorithms. Secure password Hashing: To perform secure password hashing we…
-
How to do Filtering in DataFrame?
Information and facts are major asset in digital world. Data is fuel that is running this world. However, everything is not required by everyone. Only specific part of data is relevant for certain use cases. Thus filtering data becomes important. By filtering we can filter data as per requirement and generate pattern and knowledge to…
-
How to work with DataFrame in Python?
Once we data in DataFrame i.e. DataFrame is prepared, independent of source of data (csv,xls,db etc.) we can work with it, like it is a table in database, selecting element of our interest. We have loaded data from csv file and created DataFrame. Now, we will see different select operation on this DataFrame. Selecting a…
-
How to work with DataFrame in Python?
Python language has vast application. Data analysis and manipulation is one of many application. We can work on data using Pandas library in Python for generating data analytics and manipulating data to generate useful patterns. What is Pandas? Pandas is a Python library which is used to work with sequential and tabular data. It has…
-
How to replace substring using dictionary in Python
String or text manipulation is major requirement of modern times. Regex is a option for string manipulation with multiple features. However, getting hang of regex is complex and people tend to forget syntax. Today, we will explore a feature with minimum syntax and work to achieve re.sub() capabilities. Consider, Two list which are mapped one…
-
How to work with MongoDB using Python?
What is MongoDB? MongoDB is a NoSQL database which is used to store data in document form. It is an OpenSource Document oriented Database. It uses JSON (JavaScript Object Notation) for displaying documents. And BSON (Binary Object Notation) for storage and retrieval of data. Features: Flexible schema Heavy read Allows documents inside a document Array…
-
What’s new in Python 3.10 ?
Python.org has released Python3.10.0 on 8 june 2021. Everyone wants to know what new features are added in this update? I will walk you through these new features. Parenthesized context managers Context managers are special code constructs that allow a simple handling of resources. Now we can use multiple context managers in one. By enclosing…
-
NumPy FOR YoU III
Earlier we have created arrays and generated random samples using numpy. Now, we will follow up NumPy and know more about array and NumPy. Array Indexing and Iterating NumPy is a great library if you are working with data. It has support for efficient number crunching and easy to use. NumPy provides indexing and iterating…
-
NumPy FOR YoU II
In an earlier post we have seen What is NumPy? We have also seen Features of NumPy,Need for NumPy? We have worked with Array Functionalities using NumPy. Let us look into some more Functionalities provided by NumPy. Random Sampling in NumPy In addition with built-in functions, NumPy also comes with a random sub-module which provides…