A Python dictionary is a built in data type used to store key-value pairs. It is similar to a real dictionary where you have to look up a word (key) to find its defintion (value) In Python, a dictionary stores data in linked key-value pairs Each key is connected to a specific value, making it […]
Connect Google Drive to N8N
Setting up your Google Drive connection to N8N has to be one of the first things you need to do when starting to explore the software. Google Drive is used a ton within workflows and can really expand your possibilities of builds. In this lesson, I’ll take you step by step to getting this ready […]
Python sets
A set in Python is a built-in data type used to store unique elements—that is, it automatically removes duplicates. Sets are defined using curly braces {}, and they are unordered and unindexed, meaning the items have no specific position or order. While sets are generally unchangeable in terms of individual items (you can’t change elements […]
N8N Google Sheets
Integrating in Google Sheets in an N8N workflow is pretty common. In fact when taking a look at jobs on freelance websites like Upwork I often see requests that have Google Sheets as part of a build a customer wants There are quite a few usecases in which this can be used. Two common ones are: Extracting data […]
Python Lists
https://www.youtube.com/watch?v=nQgN1y_KGLc&list=PLcQVY5V2UY4JlNQqDqmxwXgUy6QGhpgVY&index=3#numbers, booleans, string, list of lists#matrix is a 2d list#part 1 make your first list#list with numbers#list with strings #part 2 grab elements grab multiple elements from listhttps://go.elementor.com/widget-image #every 2nd letter #unpacking #part 4 replace elements #Part 5 Methods #ascending #return index #add to python list #add another list using extend metiod #3rd way to […]
Python If Elif Else
Conditional Statements and Logical Operators in Python Use if, elif, and else to control the flow of your program based on conditions. You can write nested conditions (conditions inside other conditions) for more complex logic. Python supports comparison operators (like ==, !=, <, >, <=, >=) to compare values. You can combine conditions using logical […]
Python Variables
Variables are used to store data in a computer’s memory. A variable’s name should clearly describe the kind of data it holds. In Python, you don’t need to declare the data type of a variable—Python automatically detects it. Some common data types in Python include: Integers (int) for whole numbers Floats for decimal numbers Booleans […]
Python Convert Data Types
We are going to be looking at: type castingconverting data typestype conversionhttps://youtu.be/fEPwzKUEFtk we use the type() methd to see what type something is. Here we can see the type of “11.5” is a float. Implicit: Automatically handled by Python (no manual conversion needed) Explicit: Manually converting one data type to another Example 1 – Addition […]
Python Data Types
We are going to be looking at the datatypes in Python The data types in Python includes. int, float, none, range, complex, bool, strings, list, set, touple, dict Lets start with numbers. we have the int, float, complex and bool Example 1 Integers the type() function is used to return the type of value of […]
Python Z-Score
We are going to be looking at Python Z-score. Z-score tells us how far a data poin is from the mean. To start we’re going to import the necessary libraries. numpy as np, stats and pandas Example 1 Numpy Let’s create a list of numbers called data containing a sequence of integers. Next we calculate […]