Category: article

MySQL @ Freshers.in

MySQL : Deadlock found when trying to get lock; try restarting transaction – Resolved

The error message you’ve encountered in MySQL, “Deadlock found when trying to get lock; try restarting transaction,” indicates that a…

Continue Reading MySQL : Deadlock found when trying to get lock; try restarting transaction – Resolved
Snowflake

Optimizing snowflake costs through query tag-based analysis

Analyzing Snowflake costs based on query tags is a useful approach to gain insights into how different types of queries…

Continue Reading Optimizing snowflake costs through query tag-based analysis
Python Pandas @ Freshers.in

Guide to handling DataFrame headers in Python : Adding header row to dataframe

In pandas, DataFrame headers are essentially the column names. These are not usually added to the DataFrame directly as you…

Continue Reading Guide to handling DataFrame headers in Python : Adding header row to dataframe
Java Script @ Freshers.in

Remove whitespace from the end of a string using JavaScript : trimEnd() , trimRight()

JavaScript’s trimEnd() method, alternatively known as trimRight(), is utilized to remove whitespace from the end of a string. This includes…

Continue Reading Remove whitespace from the end of a string using JavaScript : trimEnd() , trimRight()
Java Script @ Freshers.in

Extracting parts of a string, by giving beginning at the character at the specified position : substr()

The substr() method extracts parts of a string, beginning at the character at the specified position, and returns the specified…

Continue Reading Extracting parts of a string, by giving beginning at the character at the specified position : substr()
Java Script @ Freshers.in

Extracting characters from a string, between two specified indices using JavaScript : substring()

The substring() method in JavaScript extracts characters from a string, between two specified indices, and returns the new sub string….

Continue Reading Extracting characters from a string, between two specified indices using JavaScript : substring()
Java Script @ Freshers.in

Extracting a section of a string and returns it as a new string in JavaScript : slice()

This article provides an in-depth look at the slice() method, complete with executable examples, ensuring you can understand and use…

Continue Reading Extracting a section of a string and returns it as a new string in JavaScript : slice()
Google Big Query @ Freshers.in

Concatenating strings from multiple rows into a single string in Google Bigquery – STRING_AGG()

STRING_AGG() is instrumental in concatenating strings from multiple rows into a single string, significantly simplifying text data analysis and visualization….

Continue Reading Concatenating strings from multiple rows into a single string in Google Bigquery – STRING_AGG()
Google Big Query @ Freshers.in

Formatting timestamp data according to a specified string format in Google Bigquery

Google BigQuery addresses this challenge with the FORMAT_TIMESTAMP() function, allowing users to format timestamps into more comprehensible and standardized outputs….

Continue Reading Formatting timestamp data according to a specified string format in Google Bigquery
Google Big Query @ Freshers.in

Data parsing in BigQuery: REGEXP_EXTRACT() – Capture specific patterns within a text field

This article provides an in-depth understanding of REGEXP_EXTRACT(), complete with examples you can run directly in BigQuery. Understanding REGEXP_EXTRACT(): The…

Continue Reading Data parsing in BigQuery: REGEXP_EXTRACT() – Capture specific patterns within a text field