Category: article
Uinix : Get the list of all files with their size and creation date, filtering for files larger than some size
Here’s a step-by-step guide on how to get the list of all files with their size and creation date, filtering…
Steps to create BMI Calculator using Google Forms and Google Sheets
Creating a BMI (Body Mass Index) calculator using Google Forms and Google Sheets involves creating a form to collect user’s…
Snowflake : Create an array with a series of numbers within a given range [ARRAY_GENERATE_RANGE()]
Snowflake’s ARRAY_GENERATE_RANGE() function allows you to create an array with a series of numbers within a given range (i.e., from…
PySpark : Creating Ranges in PySpark DataFrame with Custom Start, End, and Increment Values
In PySpark, there isn’t a built-in function to create an array sequence given a start, end, and increment value. In PySpark,…
Python : How to recover python code from .pyc file
Recovering the exact Python source code from a compiled .pyc file is not straightforward. The .pyc file contains the bytecode…
GIT : How to remove the untracked changes in Git
To remove the untracked changes in Git, you have a few options: Delete the untracked files: If you don’t need…
GIT : How to ignore changes in Git
To ignore changes in Git, you can use the following methods: Ignore changes to specific files: Create a file named…
GIT : Stashes the changes in GIT
The complete command to use when working with Git’s stash feature is git stash. However, there are several options and…
PySpark : How to Prepending an Element to an Array on specific condition in PySpark
If you want to prepend an element to the array only when the array contains a specific word, you can…
PySpark : Prepending an Element to an Array in PySpark
When dealing with arrays in PySpark, a common requirement is to prepend an element at the beginning of an array,…