Featured Post

Best Practices for Handling Duplicate Elements in Python Lists

Image
Here are three awesome ways that you can use to remove duplicates in a list. These are helpful in resolving your data analytics solutions.  01. Using a Set Convert the list into a set , which automatically removes duplicates due to its unique element nature, and then convert the set back to a list. Solution: original_list = [2, 4, 6, 2, 8, 6, 10] unique_list = list(set(original_list)) 02. Using a Loop Iterate through the original list and append elements to a new list only if they haven't been added before. Solution: original_list = [2, 4, 6, 2, 8, 6, 10] unique_list = [] for item in original_list:     if item not in unique_list:         unique_list.append(item) 03. Using List Comprehension Create a new list using a list comprehension that includes only the elements not already present in the new list. Solution: original_list = [2, 4, 6, 2, 8, 6, 10] unique_list = [] [unique_list.append(item) for item in original_list if item not in unique_list] All three methods will result in uni

PostgreSQL is beyond NoSQL database

The PostegreSQL is a popular database for web applications. You can manage user data in this database conveniently.
#postgreSQL
#postgreSQL

What is PostgreSQL

Web applications started using NoSQL databases. PostgreSQL is updating their database to meet the requirements of web applications. So PostgreSQL is almost equal to NoSQL database.

Java Script

PostgreSQL supports JSON (JavaScript Simple Object Notation) . JSON is portable data format to share data. The MongoDB follows JSON.
PostgreSQL's structured format for saving JSON, called JSONB, eliminates the need for restructuring a document before it is committed to the database.

Benefits 

  1. PostgreSQL is similar to MongoDB to ingest documents 
  2. PostgreSQL follows ACID compatibility 
  3. PostgreSQL have all the features and options to edit JSON data.

Comments

Popular posts from this blog

Explained Ideal Structure of Python Class

6 Python file Methods Real Usage

How to Decode TLV Quickly