Python Lesson 11: Excel Files With openpyxl
Create formatted Excel reports from Python: write DataFrames to sheets, style headers, set number formats and column widths, add formulas and a chart with…
Read article →Excel, SAP, Oracle & automation tips — plus wacky facts
Python for analysts and office automation.
Create formatted Excel reports from Python: write DataFrames to sheets, style headers, set number formats and column widths, add formulas and a chart with…
Read article →Summarise data with pandas: groupby with sum and count, several aggregations with agg, pivot_table with totals, top-N with nlargest, monthly summaries, and percentage of…
Read article →Clean a real-world messy export with pandas: tidy column names, trim and fix case, turn “Rs 1,23,000” into numbers, parse mixed date formats, remove…
Read article →Start with pandas: read CSV and Excel files into a DataFrame, check shape and data types, view rows, add calculated columns, and filter rows…
Read article →Read and write CSV files with Python’s standard library: open with a with-block, csv.DictReader, totals with defaultdict, writing a result file, encodings, and file…
Read article →Write your own reusable functions with def: parameters, default values, return, docstrings, and practical examples like GST, financial-year labels and grading — Python’s version…
Read article →Repeat work with for loops over lists, dictionaries and ranges, count and total inside loops, list comprehensions, while loops, and break/continue — the code…
Read article →Hold many values with lists (indexing, append, sort, slices) and look things up with dictionaries (keys, get, items) — Python’s versions of a column…
Read article →Make decisions in Python: comparisons, if/elif/else blocks and indentation, and/or/not, one-line conditional expressions, and the IF patterns from Excel translated to Python.
Read article →Store values in variables, use int, float, str and bool, do maths with rounding, format output with f-strings including thousands separators, and convert between…
Read article →Install Python on Windows the right way, use VS Code or IDLE, run a script from the terminal, use the interactive prompt, and install…
Read article →Use Python to automate everyday office work: set up Python, handle files and folders, read and write Excel, create Word reports, send emails safely,…
Read article →Bones are stronger than steel of the same weight.
Weight for weight, bone is remarkably strong, especially under compression, because of its mix of collagen and mineral.