top of page
Babel 101: Writing Future JavaScript, Today
If you’ve spent any time in the JavaScript ecosystem, you’ve likely heard the name Babel come up again and again. It’s one of those tools that quietly powers a huge portion of the modern web, yet many developers use it without fully understanding what it does or why it matters. Let’s break it down in a clear, practical way. Babel is a JavaScript compiler - a tool that converts modern JavaScript code (ES6+ and beyond) into a version that older browsers or environments can unde
2 min read
Difference between json and jsonb in PostgreSQL
PostgreSQL allows to store JSON data in json and jsonb datatype. Let’s understand the difference between json and jsonb. json jsonb json datatype was first introduced with Postgres 9.2. jsonb datatype was introduced in Postgres 9.4. json data type stores an exact copy of the input text. jsonb stores data in a decomposed binay format. json does not support indexing jsonb supports indexing [GIN (Generalized Inverted Index)] When to use json data type want to perform a lot of IN
1 min read
Difference between json.dumps() and json.loads()
JSON is important for many backend devs. But sometimes playing with it can be confusing. Being a backend dev or full stack dev you might have written APIs for your Web or Mobile application and I’m sure you might have come across json.dumps() and json.loads(). Let’s understand the difference between json.dumps() and json.loads() with an example. json.dumps() import json user_details_dict = { "first_name": "Chandan", "last_name": "Rajpurohit" } user_details_string = """{ "fi
2 min read
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 functionality to manage, analyze and manipulate data in a simple and efficient way. We can think of its data structures as relatives to database
4 min read
bottom of page