Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Filter by Categories
About Article
Analyze Data
Archive
Best Practices
Better Outputs
Blog
Code Optimization
Code Quality
Command Line
Course
Daily tips
Dashboard
Data Analysis & Manipulation
Data Engineer
Data Visualization
DataFrame
Delta Lake
DevOps
DuckDB
Environment Management
Feature Engineer
Git
Jupyter Notebook
LLM
LLM Tools
Machine Learning
Machine Learning & AI
Machine Learning Tools
Manage Data
MLOps
Natural Language Processing
Newsletter Archive
NumPy
Pandas
Polars
PySpark
Python Helpers
Python Tips
Python Utilities
Scrape Data
SQL
Testing
Time Series
Tools
Visualization
Visualization & Reporting
Workflow & Automation
Workflow Automation

Analyze Data

causalimpact: Find Causal Relation of an Event and a Variable in Python

When working with time series data, you might want to determine whether an event has an impact on some response variable or not.
For example, if your company creates an advertisement, you might want to track whether the advertisement results in an increase in sales or not.
That is when causalimpact comes in handy. causalimpact analyses the differences between expected and observed time series data.
With causalimpact, you can infer the expected effect of an intervention in 3 lines of code as shown above.

causalimpact: Find Causal Relation of an Event and a Variable in Python Read More »

Understand CSV Files from your Terminal with XSV

Have you ever tried to have a general understanding of your CSV file by staring at it but ended up not understanding your file? You can open a Jupyter Notebook to analyze your CSV file, but it is time-consuming to open a notebook just to understand a CSV file, especially when you are working primarily with Python scripts and terminal.
xsv allows you to quickly analyze your CSV files from your terminal in 1 line of code.
To view the stats of a CSV file, type
xsv stats file.csv
Find my full article on how to use xsv here.

Understand CSV Files from your Terminal with XSV Read More »

Scroll to Top

Work with Khuyen Tran

Work with Khuyen Tran