MarquinSmith

Analytical – Honest – Passionate

  • Home
  • Services
  • Mini Projects
    • Data Analytics Helper Tools
    • Bitcoin Price Dashboard
    • Journey to data engineering
    • Tarantino Film Dashboard
    • Woolworths stock price tracker
    • How to reason and argue
  • Reference
    • The BookShelf
    • SQL Cheat Sheet
    • Dockerfile Cheat Sheet
  • Health, fitness and wellbeing
    • Crossfit Workouts
    • Gymnastics
    • Strength and fitness masterclass
    • Nutrition Course
    • Workout Stats
    • Physical Activity Stats
    • 6 week pre season soccer fitness plan
  • About

Category: Python

Automation

Loading data into SQLite

23rd June 202523rd June 2025 M SmithLeave a comment

Different approaches to load data into a SQLite database using the following Python libraries: Pandas Using the pandas library (alongside click, and uv) to load a csv file into a …

Read More ›
Automation

A command line tool to get csv summaries using Sweetviz

22nd June 2025 M SmithLeave a comment

Working with data involves handling a lot of data files, most commonly CSV files. It can be very helpful to do some exploratory data analysis on the CSV file to …

Read More ›
Automation

Running Python scripts using UV

6th March 20256th March 2025 M SmithLeave a comment

In case you haven’t heard, UV is a relatively new python package and project manager. UV allows for you to define package dependencies and the Python version to run the …

Read More ›
Data Analysis

Digital Analytics Masterclass

3rd March 20253rd March 2025 M SmithLeave a comment

For those interested in the field of Digital Analytics I have put together this project based curriculum to take someone from “digital analytics curious” to having the technical skill set …

Read More ›
Automation

Running SQL Queries on a schedule in BigQuery | Part 2b: Cloud Functions

4th February 20254th February 2025 M SmithLeave a comment

In this part of the series we will walkthrough how to set up a query to run at a regular interval using Python and Cloud Functions. This is useful particularly …

Read More ›
Automation

A Dockerfile to create a docker image to run a python file

10th January 202510th January 2025 M SmithLeave a comment

Use this Dockerfile as a template to be able to create docker images that will execute a python script once the container is run. This can be very useful if …

Read More ›
Data Analysis

A personal health tracking tool

6th December 20246th December 2024 M SmithLeave a comment

For a little while now I have been using a personal health tracking tool to monitor my progress in various areas such as strength exercises, weight management and mental hygiene …

Read More ›
Python

Retrieving an image (BLOB) from a SQLite database

27th November 202427th November 2024 M SmithLeave a comment
Read More ›
Python

Saving images to SQLite database

27th November 202427th November 2024 M SmithLeave a comment
Read More ›
Data Analysis

Load a broken csv file into duckdb

21st October 202421st October 2024 M SmithLeave a comment

Some CSV files have issues with them. Below is a code snippet to save the information in a csv file into a duckdb database, ignoring all the ‘broken’ rows.

Read More ›

Posts pagination

1 2 3

Recent Posts

  • Loading data into SQLite
  • A command line tool to get csv summaries using Sweetviz
  • Sample data from a BigQuery table
  • Create a Random Forest ML model in Bigquery and use it to make predictions
  • Load data into a BigQuery table from Google Cloud Storage using SQL

Categories

  • Automation
  • Business
  • cybersecurity
  • Data Analysis
  • Finance
  • Personal Development
  • Python
  • Uncategorised
  • Web Analytics

Archives

Copyright © 2025 MarquinSmith.
Theme Easthill by ThemeMunk. Powered by WordPress.