# Python vocabulary: Freelancer level

68 Python terms at the Freelancer level, each with a short definition and a link to its full page.

Updated: November 19, 2026

[Study these as flash cards](https://www.ask-codey.com/decks/python/freelancer)

- [\_\_iter\_\_ and \_\_next\_\_](https://www.ask-codey.com/glossary/iter-and-next): Methods that make your own class work in a for loop.
- [Abstract Base Class (abc)](https://www.ask-codey.com/glossary/abstract-base-class-abc): A class you cannot use directly; it lists methods every child must write.
- [Agg Backend](https://www.ask-codey.com/glossary/agg-backend): The matplotlib backend that draws charts in memory with no window, so chart tests run on a computer with no screen.
- [assert_frame_equal()](https://www.ask-codey.com/glossary/assert-frame-equal): pd.testing.assert_frame_equal compares two DataFrames in a test: column names, order, values and types, and says which column differs when they don't match.
- [assign()](https://www.ask-codey.com/glossary/assign): A pandas method that hands back a new table with a column added or replaced, often with a lambda that gets the table at that step.
- [async and await](https://www.ask-codey.com/glossary/async-and-await): async def makes a pausable function; await is where it waits without blocking.
- [asyncio](https://www.ask-codey.com/glossary/asyncio): The standard module that runs async code, doing many waits at once.
- [category dtype](https://www.ask-codey.com/glossary/category-dtype): A pandas column type for values from a short, fixed list, such as shirt sizes, stored once and optionally kept in an order of your own.
- [Class Method (@classmethod)](https://www.ask-codey.com/glossary/class-method-classmethod): A method that belongs to the class, often another way to create objects.
- [Closure](https://www.ask-codey.com/glossary/closure): An inner function that remembers the variables around it.
- [ColumnTransformer](https://www.ask-codey.com/glossary/columntransformer): A scikit-learn tool that prepares different columns in different ways, such as scaling the numbers and encoding the categories, then joins them.
- [Context Manager](https://www.ask-codey.com/glossary/context-manager): Sets something up at the start of a with block and cleans up at the end.
- [contextlib](https://www.ask-codey.com/glossary/contextlib): A standard module for writing your own context managers easily.
- [Copy-on-Write](https://www.ask-codey.com/glossary/copy-on-write): How pandas 3 handles copies: a copy shares the data until one of them changes, so copying is cheap and a chained assignment changes nothing.
- [Coroutine](https://www.ask-codey.com/glossary/coroutine): What an async def function returns: a task that can pause and resume.
- [Counter](https://www.ask-codey.com/glossary/counter): Counts how many times each item appears.
- [Dataclass](https://www.ask-codey.com/glossary/dataclass): A class for holding data; @dataclass writes \_\_init\_\_ and more for you.
- [Decorator](https://www.ask-codey.com/glossary/decorator): Wraps extra behavior around a function, applied with @name above it.
- [defaultdict](https://www.ask-codey.com/glossary/defaultdict): A dictionary that fills in a starting value for a new key automatically.
- [deque](https://www.ask-codey.com/glossary/deque): A list built for quickly adding and removing at both ends.
- [Duck Typing](https://www.ask-codey.com/glossary/duck-typing): Python cares what an object can do, not what class it is.
- [Enum](https://www.ask-codey.com/glossary/enum): A fixed set of named choices, like order statuses.
- [Generator](https://www.ask-codey.com/glossary/generator): A function that hands out values one at a time with yield.
- [Generator Expression](https://www.ask-codey.com/glossary/generator-expression): Like a list comprehension in round brackets, producing values one at a time.
- [Generic Type (TypeVar)](https://www.ask-codey.com/glossary/generic-type-typevar): Lets code work with any type while keeping in and out types linked.
- [get_feature_names_out()](https://www.ask-codey.com/glossary/get-feature-names-out): The scikit-learn method that names each column a fitted preparing step hands back, such as species_cat and species_dog.
- [get_params()](https://www.ask-codey.com/glossary/get-params): The scikit-learn method that hands back a model's settings as a dictionary of names and values, such as max_depth: 3.
- [GridSearchCV](https://www.ask-codey.com/glossary/gridsearchcv): scikit-learn's grid search: it cross-validates every combination of the settings you list and refits the best on all the training rows.
- [GroupShuffleSplit](https://www.ask-codey.com/glossary/groupshufflesplit): A scikit-learn splitter that keeps all the rows of one group, such as one customer, on the same side of the train-test split.
- [httpx](https://www.ask-codey.com/glossary/httpx): A Python package for web requests with the same shape as requests (get, status_code, json(), raise_for_status()), which can also send many requests at once.
- [Iterator](https://www.ask-codey.com/glossary/iterator): Gives out items one at a time with next() and remembers where it is.
- [itertools](https://www.ask-codey.com/glossary/itertools): A standard module of ready-made looping tools.
- [Job Queue](https://www.ask-codey.com/glossary/job-queue-python): A separate program that keeps background work in a store of its own, runs it in workers apart from the web server and retries it, such as Celery or RQ.
- [json_normalize()](https://www.ask-codey.com/glossary/json-normalize): pd.json_normalize turns nested JSON data into a flat table: record_path names the list whose items become rows, meta the fields copied onto each.
- [Logging Levels](https://www.ask-codey.com/glossary/logging-levels): How serious a log message is, from DEBUG up to CRITICAL.
- [make_column_transformer()](https://www.ask-codey.com/glossary/make-column-transformer): scikit-learn's shortcut that builds a ColumnTransformer from (tool, columns) pairs, naming each part after its tool's class.
- [melt()](https://www.ask-codey.com/glossary/melt): A pandas method that turns a wide table into a long one: the columns named in id_vars stay, and every other column becomes rows of a name and a value.
- [Memoization (lru_cache)](https://www.ask-codey.com/glossary/memoization-lru-cache): Saving a function's answers so repeat calls return instantly.
- [Mocking (unittest.mock)](https://www.ask-codey.com/glossary/mocking-unittest-mock): Swapping a real part of the program for a fake one during a test.
- [MultiIndex](https://www.ask-codey.com/glossary/multiindex): Row labels on two or more levels, such as a neighborhood and a pizza size, which pandas makes when it groups by two columns.
- [Multiprocessing](https://www.ask-codey.com/glossary/multiprocessing): Runs work in separate processes so heavy calculations run in parallel.
- [Mutable Default Argument](https://www.ask-codey.com/glossary/mutable-default-argument): A default like \[\] is shared by every call. Use None and make a new one inside.
- [mypy](https://www.ask-codey.com/glossary/mypy): A tool that checks your type hints and warns about type mistakes.
- [Named Aggregation](https://www.ask-codey.com/glossary/named-aggregation): Writing agg as name=(column, summary), so each summary becomes a column with the name you chose, from the column you chose.
- [Named Tuple](https://www.ask-codey.com/glossary/named-tuple): A tuple whose items also have names.
- [nonlocal](https://www.ask-codey.com/glossary/nonlocal): Lets an inner function change a variable from the function around it.
- [Optional (typing)](https://www.ask-codey.com/glossary/optional-typing): In a type hint: the value can be that type or None.
- [Parametrized Test](https://www.ask-codey.com/glossary/parametrized-test): One test run with several sets of inputs and expected answers.
- [Partial Function (functools.partial)](https://www.ask-codey.com/glossary/partial-function-functools-partial): A copy of a function with some arguments already filled in.
- [pipe()](https://www.ask-codey.com/glossary/pipe-python): A pandas method that calls your own function with the table, so a step you wrote fits into a method chain.
- [pivot()](https://www.ask-codey.com/glossary/pivot-python): A pandas method that turns a long table into a wide one from index, columns and values, and stops with an error when two rows would fill one cell.
- [Property (@property)](https://www.ask-codey.com/glossary/property-property): Lets a method be used like an attribute, with no brackets.
- [Protocol](https://www.ask-codey.com/glossary/protocol): Describes what an object must be able to do, whatever class it is.
- [pyproject.toml](https://www.ask-codey.com/glossary/pyproject-toml): One file describing a Python project: name, version, packages it needs.
- [Race Condition](https://www.ask-codey.com/glossary/race-condition): A bug where the result depends on which thread gets there first.
- [resample()](https://www.ask-codey.com/glossary/resample): A pandas method that cuts a date index into periods, such as weeks or months, and summarizes each one, keeping the periods with no rows.
- [set_params()](https://www.ask-codey.com/glossary/set-params): The scikit-learn method that changes a model's settings by name, such as tree.set_params(max_depth=5), and hands back the model.
- [SQLAlchemy](https://www.ask-codey.com/glossary/sqlalchemy): Python's most used ORM and database toolkit: tables described as classes, and queries built in Python that it turns into SQL.
- [Static Method (@staticmethod)](https://www.ask-codey.com/glossary/static-method-staticmethod): A plain function kept inside a class; it uses neither self nor the class.
- [str.extract()](https://www.ask-codey.com/glossary/str-extract): A pandas text tool that keeps the part of each value a regular expression's parentheses match, such as the digits in "about 30", and NaN where nothing matches.
- [Styler](https://www.ask-codey.com/glossary/styler): What df.style makes: the same table drawn for people, with a format for each column, such as $20.00 or 97.2%, and the index hidden if you choose.
- [Thread (threading)](https://www.ask-codey.com/glossary/thread-threading): Lets part of a program run alongside the rest, handy while waiting on things.
- [transform()](https://www.ask-codey.com/glossary/transform-python): A groupby method that works out a summary for each group and hands it back on every row of that group, lined up with the table.
- [Type Hint](https://www.ask-codey.com/glossary/type-hint): A note saying what type a value should be, used by editors and tools.
- [Union Type](https://www.ask-codey.com/glossary/union-type): A type hint saying a value can be one of several types, like int | str.
- [Unpacking Operator (\* and \*\*)](https://www.ask-codey.com/glossary/unpacking-operator-and): In a call, \* spreads a list into arguments and \*\* spreads a dictionary.
- [Wheel (package build)](https://www.ask-codey.com/glossary/wheel-package-build): A ready-to-install Python package file (.whl).
- [yield](https://www.ask-codey.com/glossary/yield): Hands back one value from a generator and pauses until the next one is needed.

- Previous level: [Journeyman](https://www.ask-codey.com/glossary/subjects/python/journeyman)
- Next level: [Master](https://www.ask-codey.com/glossary/subjects/python/master)

[Every Python term, by level](https://www.ask-codey.com/glossary/subjects/python)

Source: https://www.ask-codey.com/glossary/subjects/python/freelancer
