python
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns

sns.set_theme(style='whitegrid', palette='deep', context='talk')
plt.rcParams.update({

Matplotlib and Seaborn defaults that make charts publication ready

matplotlib seaborn visualization
by Dr. Elena Vasquez 1 tab
python
import numpy as np

embeddings = np.array([
    [0.9, 0.1, 0.2],
    [0.1, 0.8, 0.3],
    [0.7, 0.2, 0.4],

Linear algebra patterns for similarity and projection tasks

numpy linear-algebra embeddings
by Dr. Elena Vasquez 1 tab
python
import numpy as np

features = np.array([
    [120.0, 3.0, 10.0],
    [90.0, 5.0, 7.0],
    [150.0, 2.0, 14.0],

NumPy broadcasting for vectorized feature engineering

numpy broadcasting vectorization
by Dr. Elena Vasquez 1 tab
python
import pandas as pd

df = pd.read_csv('traffic.csv', parse_dates=['timestamp'])
df['timestamp'] = pd.to_datetime(df['timestamp'], utc=True)
df = df.set_index('timestamp').sort_index()

Time series resampling and rolling windows in pandas

pandas time-series resampling
by Dr. Elena Vasquez 1 tab
python
import pandas as pd

customers = pd.read_parquet('customers.parquet')
orders = pd.read_parquet('orders.parquet')

assert customers['customer_id'].is_unique, 'customer table must be unique by customer_id'

Merging datasets safely with join keys and validation

pandas joins data-engineering
by Dr. Elena Vasquez 1 tab
python
import pandas as pd

df = pd.read_parquet('events.parquet')
df['event_date'] = pd.to_datetime(df['event_date'])
df['month'] = df['event_date'].dt.to_period('M').astype(str)

GroupBy aggregations and pivot tables for business reporting

pandas groupby pivot-table
by Dr. Elena Vasquez 1 tab
python
import pandas as pd

df = pd.read_csv('customers.csv')

df.columns = df.columns.str.strip().str.lower().str.replace(' ', '_', regex=False)

Cleaning missing values and normalizing messy CSV exports

pandas data-cleaning missing-values
by Dr. Elena Vasquez 1 tab
python
import pandas as pd

df = pd.read_csv(
    'orders.csv',
    parse_dates=['created_at'],
    dtype={

pandas DataFrame essentials: loading, indexing, and selection

pandas python dataframe
by Dr. Elena Vasquez 1 tab
bash
#!/usr/bin/env bash
set -euo pipefail

# ==========================================================
# Production Incident Response Runbook
# ==========================================================

Incident response runbook and diagnostic scripts

incident-response sre production
by Ryan Nakamura 1 tab
javascript
// k6 Load Test Configuration
// Run: k6 run load-test.js --env BASE_URL=https://api.example.com

import http from 'k6/http';
import { check, sleep, group } from 'k6';
import { Rate, Trend, Counter } from 'k6/metrics';

Load testing APIs with k6 for performance validation

k6 load-testing performance
by Ryan Nakamura 1 tab
bash
#!/usr/bin/env bash
set -euo pipefail

# Container Registry Management & Image Lifecycle

# ============================================

Container registry management and image lifecycle

docker registry ecr
by Ryan Nakamura 1 tab
hcl
# AWS Lambda Function with API Gateway trigger

# === Lambda function ===
resource "aws_lambda_function" "api_handler" {
  function_name = "${var.project}-api-handler"
  description   = "API request handler for ${var.project}"

AWS Lambda serverless functions with Terraform

aws lambda serverless
by Ryan Nakamura 1 tab