Tagged articles
data-cleaning
16 articles · Page 1 of 1
This article walks through a real‑world Pandas problem where missing values in one column are filled based on another column, presenting both a simple one‑liner solution and a more robust function‑based approach with full code examples.
applydata analysisdata-cleaning
0 likes · 6 min read

This article walks through a real‑world Python data‑analysis question, showing two practical Pandas solutions—one using groupby with custom string handling and another simpler approach—to deduplicate records while preserving preceding approval comments.
data-cleaningdeduplicationgroupby
0 likes · 4 min read

This article presents a collection of Python utility scripts that demonstrate how to clean CSV data, translate text files, synchronize folders, upload files to S3, count directory contents, classify files by type, perform OCR on images, convert video to audio, extract images from webpages, and generate text summaries using modern libraries.
AIcloud storagedata-cleaning
0 likes · 6 min read

This article explains how to use Python's parameterized approach to efficiently read, clean, transform, summarize, visualize, and export Excel data through reusable functions and code snippets, enabling flexible and automated data workflows.
ExcelPandasdata-cleaning
0 likes · 6 min read

This article provides a comprehensive guide to using Pandas for data cleaning and transformation, covering value modification, replacement, filling missing data, renaming, column addition, row insertion, merging, deletion, advanced filtering, iteration methods, and applying functions such as pipe, apply, agg, and transform.
Pandasdata-cleaningdata-manipulation
0 likes · 9 min read

This article introduces the FuzzyWuzzy Python library, explains its underlying Levenshtein distance algorithm, demonstrates how to install it, describes the key functions in the fuzz and process modules, and provides practical examples for matching company names and province fields with complete code snippets.
LevenshteinPandasdata-cleaning
0 likes · 10 min read

This article explains how to extract the year from a 420,000‑row PatientID column with varying string formats using four different pandas techniques—including string replacement, a one‑line expression, splitting, and regular expressions—providing clear code examples for each approach.
data-cleaningstring-manipulation
0 likes · 4 min read

This article explains the differences between Pandas' Series .str.replace and DataFrame .replace methods, shows how to convert column types correctly, and demonstrates dictionary‑based and multi‑value replacements to help you clean data efficiently.
astypedata-cleaningstr_replace
0 likes · 5 min read

This article introduces the Python FuzzyWuzzy library, explains its Levenshtein‑based fuzzy string matching functions such as Ratio, Partial Ratio, Token Sort Ratio and Token Set Ratio, demonstrates how to use the process module for extracting best matches, and provides practical code examples for matching company and province names.
LevenshteinPandasPython
0 likes · 11 min read

This article explains how to use pandas' sort_values and drop_duplicates functions to eliminate duplicate entries in a DataFrame, preserving the row with the maximum age (or other criteria), and provides multiple code examples and parameter details for effective data cleaning.
PandasPythondata-cleaning
0 likes · 6 min read

This article shows how to handle irregular JSON strings exported from a database by using a concise Pandas lambda expression that replaces empty actor lists with a default ID, providing a quick data‑cleaning solution for Python developers.
JSONPandasPython
0 likes · 3 min read

This article demonstrates how to replace typical Excel tasks such as VLOOKUP, pivot tables, duplicate removal, missing‑value handling, multi‑condition filtering, and grouping with concise Python pandas code, providing step‑by‑step examples and practical tips for efficient data analysis.
ExcelPandasVLOOKUP
0 likes · 8 min read

This article walks through a real‑world data‑cleaning task where duplicate process IDs are removed but earlier approval comments are retained, showcasing two pandas‑based solutions, code snippets, and practical tips for handling empty cells.
PandasPythondata-cleaning
0 likes · 4 min read

This article walks through five pandas-based methods—and an optional openpyxl approach—to extract unique date‑hour entries from an Excel file, explaining each technique, its code, and the nuances of handling datetime rounding and duplicate removal.
DATETIMEPandasPython
0 likes · 9 min read

This comprehensive Pandas tutorial walks you through loading CSV and Excel files, creating Series and DataFrames, performing basic operations, cleaning data, handling missing values, working with hierarchical indexes, grouping, merging, concatenating, and applying time‑series techniques, all illustrated with clear code examples and screenshots.
PandasPythondata-cleaning
0 likes · 12 min read

This article introduces several powerful pure‑Python features—lambda functions, list comprehensions, and the zip function—demonstrating how they can simplify data cleaning, feature engineering, and iterative processing with concise code examples, helping programmers reduce reliance on external libraries while improving productivity.
Pythondata-cleaninglambda
0 likes · 7 min read
