StackPractices

data

Practical resources about data for software engineers.

86 results

Understanding Data Processing in Software Engineering

Every application eventually deals with data — parsing user input, serializing objects for APIs, validating form submissions, or transforming records between formats. Getting data handling right is what separates fragile scripts from production-grade systems.

This collection covers practical recipes and patterns for working with JSON, CSV, XML, YAML, and custom formats. You will find copy-paste solutions for common tasks like flattening nested objects, sanitizing user input, generating slugs, and formatting dates across Python, Java, and JavaScript.

intermediate

Batch Processing Patterns

Design reliable batch processing pipelines for large datasets with retry logic, idempotency, and...

intermediate

Caching & Memoization in Python, JavaScript, and Java

How to cache expensive computations and API responses using in-memory LRU, TTL, and distributed...

beginner

Convert CSV to JSON

Turn CSV files into structured JSON using Python, JavaScript, and Java. Pick the right library for...

beginner

Convert JSON to CSV

How to convert JSON data to CSV format in Python, Java, and JavaScript.

beginner

Validate and Sanitize User Input Data

How to validate, sanitize, and constrain user input data at the application boundary using schemas,...

beginner

Date Formatting

How to parse, format, and manipulate dates across timezones using Python, JavaScript, and Java.

intermediate

Deep Clone in JavaScript: structuredClone vs lodash vs JSON

Compare deep clone methods in JavaScript, Python and Java. Create independent copies of objects and...

beginner

Deep Clone Objects in JavaScript: Beyond JSON.parse

Compare deep clone strategies including JSON.parse, structuredClone, manual recursion, and library...

deep-clone javascript clone duplication
beginner

Diff JSON Objects

How to compare two JSON objects and find differences in Python, Java, and JavaScript.

intermediate

Flatten and Unflatten Nested Objects

How to convert nested objects to flat key-value pairs and back again, with dot-notation, bracket...

beginner

Format Phone Numbers

How to format and validate phone numbers in Python, Java, and JavaScript.

data formatting validation international
intermediate

Generate PDF Reports in Python: ReportLab & fpdf2 Guide

Create styled PDF documents from data using ReportLab and fpdf2 in Python.

pdf python reportlab fpdf2
beginner

Generate URL Slugs

How to generate clean, URL-friendly slugs from strings in multiple programming languages.

beginner

Merge JSON Files

How to merge multiple JSON files into a single object or array in Python, Java, and JavaScript.

intermediate

Merge JSON Files in JavaScript

Combine multiple JSON files with conflict resolution strategies using Node.js.

intermediate

Money and Currency Handling

How to represent, parse, format, and calculate monetary values accurately across currencies.

beginner

Parse Command Line Arguments: argparse, Commander & picocli

How to parse command line arguments in Python, Java, and Node.js CLI applications.

beginner

Parse CSV Files

How to parse CSV files in Python, Java, and JavaScript with practical code examples.

beginner

Parse CSV Files with Python and Pandas

How to read, filter, and transform large CSV files efficiently using Python pandas and the csv...

beginner

Parse Excel Files

How to read and write Excel (.xlsx) files in Python, Java, and JavaScript.

No results found.