skip to main content
joncoded
the snippets
nooks / python

📙

2025-12-20

code

[snippets]

Vectorization (colab notebook)

notebook about vectorization with Gensim + Word2Vec and sentiment analysis with BERT + BART

visit URL

📜

2025-12-17

code

[snippets]

Pre-processing steps for NLP

splitting text up with tokenization + removing "textual noise" + reducing tokens with stemming and lemmatization

📙

2025-12-14

code

[snippets]

NLP (colab notebook)

notebook about NLP and frequency-based vectorization methods (bag of words + TF/IDF)

visit URL

🔢

2025-11-17

code

[snippets]

NumPy essentials

providing mathematical functions for the Python programmer

📚

2025-11-16

code

[snippets]

Python libraries (a quick how-to)

using add-ons for Python : installing + importing + programming

visit URL

🐍

2025-11-15

code

[snippets]

Python matrix with a cross of numbers

summarizing an exercise in matrix data manipulation

🐍

2025-11-11

code

[snippets]

Python unpacking operator

allowing any number of arguments in a function

📙

2025-11-09

code

[snippets]

Python fundamentals (colab notebook)

notebook with snippets of basic python code

visit URL

🐍

2025-11-06

code

[snippets]

Python solution: finding the day of the week

given a date in the yyyy-mm-dd format

🐍

2025-11-05

code

[snippets]

Python sets

grouping objects into a collection of unordered and unchangeable items

🐍

2025-11-05

code

[snippets]

Python dictionaries

grouping objects into a collection of unordered but changeable key-value pairs

🐍

2025-11-05

code

[snippets]

Python tuples

grouping objects into a collection of ordered but unchangeable items

🐍

2025-11-05

code

[snippets]

Python lists

grouping objects into a collection of ordered and changeable items

🐍

2025-11-05

code

[snippets]

Python strings

performing operations on plain text variables

🐍

2025-11-05

code

[snippets]

Python and object-oriented principles: polymorphism

different objects with the same variable names

🐍

2025-11-05

code

[snippets]

Python and object-oriented principles: inheritance

making a subclass that inherits variables of its superclass

🐍

2025-11-05

code

[snippets]

Python and object-oriented principles: encapsulation

packaging variables into a single variable for later use

🐍

2025-11-05

code

[snippets]

Python access modifiers (public + private + protected variables)

limiting access of variables and functions to a specific code block

🐍

2025-11-05

code

[snippets]

Python classes and objects

organizing code into blueprints and their instances

🐍

2025-11-04

code

[snippets]

Python error handling (try + except + finally)

try to do something, except if it fails, then finally do something else!

🐍

2025-11-04

code

[snippets]

Python functions

grouping code into actionable chunks

🐍

2025-11-04

code

[snippets]

Python looping control (break + continue + pass)

by-passing a loop depending on exceptions

🐍

2025-11-04

code

[snippets]

Python looping (for + while)

making events happen again and again in Python

🐍

2025-11-04

code

[snippets]

Python match + case

writing match + case instead of if + elif + else

🐍

2025-11-04

code

[snippets]

Python branching (if + else + elif)

making decisions between or among conditions

🐍

2025-11-03

code

[snippets]

Python operators

doing things to values

🐍

2025-11-03

code

[snippets]

Python variables and data types

storing values in a named piece of memory

🐍

2025-11-03

code

[snippets]

Python input and output

getting user input and showing (calculated) output

🐍

2025-11-03

code

[snippets]

Python : introduction

getting started with this data-oriented programming language

a jxc project - also known as jonchius

social media can wait