Pandas Drop Column

Pandas-drop-column

Pandas is an open source library in Python. It provides a variety of tools to work with the tabular data. It revolves around the concept of Dataframes which consists of rows and columns. If you are in a situation where you want to drop a column or group of columns, then Pandas provides you with … Read more

What is JSONPath: JsonPath.parse()

jsonpath.parse

In Java, there isn’t a built-in JsonPath.parse() method within the standard JSON libraries. However, you can use external libraries such as Jayway JsonPath to achieve similar functionality to parse and work with JSONPath expressions. Introduction to JSONPath JSONPath is a query language used to navigate the JSON (JavaScript Object Notation) data structures, particularly in scenarios … Read more

error:0308010C:digital envelope routines::unsupported

error:0308010C:digital envelope routines::unsupported

The error message “error:0308010C:digital envelope routines::unsupported“, appears to be related to OpenSSL. This error typically indicates that a particular feature or operation is not supported by the version of OpenSSL or the configuration being used. OpenSSL is a widely used cryptographic library that provides support for secure communications. When working on encryption and decryption tasks … Read more

Python Substring | Substring of a string

Python-Substring

A string is a sequence of characters and a substring refers to a part of a string. Python provides various methods to create a substring from a string. One most popular way is using the slicing method and another way is the split() function to create a list of substrings based on a specific delimiter. … Read more

Git Cherry Pick command

git cherry pick

Imagine a Scenario, when a developer mistakenly commits changes to the wrong branch not realizing their current branch, to correct the mistake developer needs to execute a different series of commands. This includes checking the commit details with ‘git show’, saving the commit, switching to the correct branch (e.g., main branch), applying a patch, and … Read more

What is -Xmx in Java

Xmx java

The Java Virtual Machine (JVM) has two memory-related options or flags, namely “-Xmx” and “-Xms”. When running a Java application, the Java Virtual Machine utilizes the “-Xmx” option to set the maximum heap size and the “-Xms” option to set the initial heap size.In java, memory allocation for the heap size using -Xmx and –Xms … Read more

Git Reset Hard – Git Reset Command

git-reset-hard

Before talking about ‘git reset –hard’ option of git reset command, let’s have a look on how you can undo the changes made by the commit or recent commit. We will provide you a detailed explanation here so that you can easily understand the whole process. As a developer when you work with “Git” you … Read more

What is an ORM?

ORM (object relational mapping)

ORM refers to Object Relational Mapping which is a technical method that is used to connect programming code and relational databases. For this purpose it uses Metadata descriptors. In other words it works like a bridge between OOP code and database streamlining the interaction between OOP languages and relational databases. With the help of Object … Read more

How to use Git Revert?

git revert

The “git revert” is a command used to undo a specific commit. It creates a new commit that inversely applies the changes made by the commit you want to revert. It does not erase the commit from the project’s history but it removes all the changes made by the targeted commit. To run the command … Read more

SyntaxError: invalid syntax

SyntaxError invalid syntax

In the world of computer programming, syntax error indicates that your code is not structured properly. The code is written in different languages and each language has a syntax that refers to the rules of how you must structure your code. If you are a programmer and you are writing some lines of code in … Read more

Rename a Git Branch

git-rename-branch

Git is a powerful version control system that allows developers to track changes to their files or a set of files over time in the codebase and collaborate with others. It offers a wide range of features and operations to perform as it manages small to a very large project. One common operation is renaming … Read more

Rename column names in Pandas

Rename column names in Pandas

Pandas is a powerful and flexible data manipulation library in Python that provides a variety of features for working with tabular data. If you are working with Pandas DataFrames which is a 2-dimensional data structure like an array or table with rows and columns, then you might want to know how to rename a column … Read more

JavaScript location reload true

location.reload(true) method JavaScript

JavaScript provides a method to refresh or reload a web page by location.reload() function. It accepts one parameter, which contains a boolean value of either true as location.reload(true) or false as location.reload(false). It is typically invoked on the window.location object, which represents the current URL of the web page. Syntax of the function is given … Read more

Golang Bin Directory

Golang bin

Go, also known as Golang, is a powerful and open source programming language developed by Google. When you install Go in your system, it creates a directory called Golang bin directory within the Go installation path. This blog will explain you how to download and install go language and about Go bin. How to Download … Read more

Python Site Packages Directory

Python Site Packages

In Python, there is a directory called ‘site-packages’, which is a location where the third-party packages are installed. It contains additional Python modules and libraries not included in the standard Python library. when you install a package or module using ‘pip’, which is a python package installer then these packages are stored in the site-packages … Read more

EACCES: permission denied – Fixed

EACCES: permission denied

The “EACCES” is one of the errors typically encountered when you are trying to install a global npm package like ‘npm install lodash’ in a system or trying to access a file or folder that does not have the necessary permissions to access it. Although there can be many reasons for the occurrence of the … Read more