Code-Python (en)
Class (en)
Last Updated: 2026-09-15The basics of Python classes: a class is the blueprint for objects, holding attributes and methods. Also covers the difference between class/instance variables and methods.
Class inheritance (extend) and overriding (en)
Last Updated: 2026-09-15A complete example of Python class inheritance (extend) and method overriding — Manager inherits from Employee and overrides get_employee_info, and Department manages staff with class methods.
dataframe-concat (en)
Last Updated: 2026-09-15pandas concat() sticks multiple DataFrames together — 7 examples.
dataframe-merge (en)
Last Updated: 2026-09-15pandas merge() combines DataFrames on a shared column or index — 7 examples.
dataframe-quick-inspection-helper (en)
Last Updated: 2026-09-15Quick DataFrame inspection: head(), tail(), info(), and describe().
dataframe-transform (en)
Last Updated: 2026-09-15pandas transform(): map per-group results back to each row — headcount, avg salary, and total bonus.
datatype-dictionary (en)
Last Updated: 2026-09-15Dictionaries: key:value storage — lookup, .items() looping, list values, keys as a list, and _ as the key name.
datatype-list (en)
Last Updated: 2026-09-15list is Python's most common container. Wrapped in square brackets [], its items can be changed, can repeat, and keep their insertion order.
datatype-set (en)
Last Updated: 2026-09-15A set stores unique, unordered elements. Use it to check membership or drop duplicates.
datatype-tuple (en)
Last Updated: 2026-09-15A tuple is an ordered, immutable collection in Python, written with parentheses (). It's like a list, but you can't change it once it's created.
Loop-for loop (en)
Last Updated: 2026-09-158 progressive Python for loop examples, from range() basics to list comprehensions.
Loop-while loop (en)
Last Updated: 2026-09-15The while loop: keep running while a condition holds — a counter, and an input loop that asks until 'q'.
