# Python flash cards: Journeyman level

168 Python terms at the Journeyman level, as flash cards.

Updated: November 19, 2026

- [Study these as flash cards](https://www.ask-codey.com/decks/python/3/flash)
- [Play Memory with them](https://www.ask-codey.com/games/memory?category=python&level=3)

## Terms in this deck

- [\_\_init\_\_ (Constructor)](https://www.ask-codey.com/glossary/init-constructor): Runs automatically when an object is created and sets up its starting data.
- [\_\_init\_\_.py](https://www.ask-codey.com/glossary/init-py): A file that marks a folder as a Python package.
- [\_\_str\_\_ and \_\_repr\_\_](https://www.ask-codey.com/glossary/str-and-repr): Control how an object looks when printed (\_\_str\_\_) and when debugging (\_\_repr\_\_).
- [agg()](https://www.ask-codey.com/glossary/agg): A pandas method that works out several summaries for each group at once, such as a sum, a mean and a count, and hands them back as one table.
- [annotate()](https://www.ask-codey.com/glossary/annotate): A matplotlib method that writes a note on a chart with an arrow pointing at one value: xy is the point, xytext where the words sit.
- [apply()](https://www.ask-codey.com/glossary/apply-python): A pandas method that runs a function, or a lambda, on every value of a column, one at a time.
- [argparse](https://www.ask-codey.com/glossary/argparse): Python's standard module that reads a script's command-line arguments into positional arguments, options and flags, checks them and writes a --help page.
- [assert](https://www.ask-codey.com/glossary/assert): Checks that something is true, and stops with an error if not.
- [astype()](https://www.ask-codey.com/glossary/astype): A pandas method that turns a column into another type, such as text into whole numbers, and stops if any value can't be converted.
- [Attribute](https://www.ask-codey.com/glossary/attribute): A piece of data that belongs to an object, reached with a dot.
- [autoreload](https://www.ask-codey.com/glossary/autoreload): A notebook kernel's tool that reloads a changed module before each cell runs, turned on with %load_ext autoreload and %autoreload 2.
- [Axes](https://www.ask-codey.com/glossary/axes): In matplotlib, one chart on a Figure: the area with the data and the two axes it's measured against.
- [bar_label()](https://www.ask-codey.com/glossary/bar-label): The matplotlib Axes method that writes each bar's value at its end, given the bars ax.bar or ax.barh handed back.
- [between()](https://www.ask-codey.com/glossary/between): A pandas method that answers True for each value from a low number to a high one, both ends included, and False for a value outside it or a missing one.
- [Boolean Mask](https://www.ask-codey.com/glossary/boolean-mask): A column of True and False answers, one per row, made by a comparison; df\[mask\] keeps the rows where it's True.
- [Built-in Exceptions](https://www.ask-codey.com/glossary/built-in-exceptions): The error types Python already has, like ValueError and KeyError.
- [capsys](https://www.ask-codey.com/glossary/capsys): A fixture pytest has built in that catches what code prints while a test runs; capsys.readouterr().out is the printed text.
- [Chained Comparison](https://www.ask-codey.com/glossary/chained-comparison): Several comparisons in one go, like 18 &lt;= age &lt; 65.
- [Class](https://www.ask-codey.com/glossary/class): A blueprint for making objects that bundle data with actions.
- [Class Attribute](https://www.ask-codey.com/glossary/class-attribute): Data shared by every object made from a class.
- [Classification Report](https://www.ask-codey.com/glossary/classification-report): scikit-learn's printed table of precision, recall, F1 score and support for every class, with accuracy and averages below.
- [Colorblind-Friendly Palette](https://www.ask-codey.com/glossary/colorblind-friendly-palette): A set of colors chosen to stay different for most color-blind readers, such as matplotlib's tableau-colorblind10 style.
- [concat()](https://www.ask-codey.com/glossary/concat): pd.concat stacks tables that share their columns, one under the other; ignore_index=True numbers the stacked rows from 0 again.
- [Conditional Expression](https://www.ask-codey.com/glossary/conditional-expression): Picks one of two values in one line: this if condition else that.
- [conftest.py](https://www.ask-codey.com/glossary/conftest-py): A file pytest reads before it runs the tests in its folder, for set-up every test there shares, such as choosing matplotlib's Agg backend.
- [Correlation](https://www.ask-codey.com/glossary/correlation): How closely two columns move together, as a number from -1 to 1; near 0 means no straight-line pattern. It doesn't show that one causes the other.
- [crosstab()](https://www.ask-codey.com/glossary/crosstab): pd.crosstab counts how often each combination of two columns' values happens; normalize="index" turns each row into shares.
- [csv Module](https://www.ask-codey.com/glossary/csv-module): Python's built-in module for reading and writing CSV files: csv.reader and csv.DictReader read the rows, csv.writer and csv.DictWriter write them.
- [Custom Exception](https://www.ask-codey.com/glossary/custom-exception): Your own error type, named for exactly what went wrong.
- [cut()](https://www.ask-codey.com/glossary/cut-python): pd.cut sorts numbers into labeled bands, such as budget, mid and premium, from a list of edges.
- [DataFrame](https://www.ask-codey.com/glossary/dataframe): pandas' table: named columns, and a label for each row called its index, like one sheet of a spreadsheet inside a program.
- [DataFrame.plot()](https://www.ask-codey.com/glossary/dataframe-plot): The pandas method that draws a DataFrame or Series as a chart with matplotlib (kind= picks which) and hands back the Axes it drew on.
- [Date Format Code](https://www.ask-codey.com/glossary/date-format-code): A code such as %m (month), %d (day) or %Y (four-digit year) that describes one piece of how a date is written, as in "%m/%d/%Y".
- [datetime Module](https://www.ask-codey.com/glossary/datetime-module): A standard module for working with dates and times.
- [Debugger (pdb)](https://www.ask-codey.com/glossary/debugger-pdb): A tool that pauses your program so you can inspect it line by line.
- [Deep Copy](https://www.ask-codey.com/glossary/deep-copy): A copy of a collection and everything inside it, fully separate.
- [describe()](https://www.ask-codey.com/glossary/describe): A pandas method that sums up each number column: count, mean, standard deviation, min, the quartiles and max.
- [Dictionary Comprehension](https://www.ask-codey.com/glossary/dictionary-comprehension): Builds a new dictionary in a single line.
- [drop_duplicates()](https://www.ask-codey.com/glossary/drop-duplicates): A pandas method that hands back the table without its repeated rows; subset names the columns to compare and keep which copy stays.
- [dropna()](https://www.ask-codey.com/glossary/dropna): A pandas method that hands back the table without the rows that have missing values, or only those missing the columns named in subset.
- [dt accessor](https://www.ask-codey.com/glossary/dt-accessor): Read "dot d t": the date tools of a pandas date column, such as year, month, day_name() and hour, each working on every row at once.
- [dtype](https://www.ask-codey.com/glossary/dtype): Short for data type: the kind of value every row of a pandas column holds, such as int64, float64 or str.
- [DummyClassifier](https://www.ask-codey.com/glossary/dummyclassifier): A scikit-learn model that ignores the features and guesses by a simple rule, the most common class by default, to give a baseline.
- [DummyRegressor](https://www.ask-codey.com/glossary/dummyregressor): A scikit-learn model that ignores the features and always guesses one number, the training average by default, to give a baseline.
- [Dunder Method](https://www.ask-codey.com/glossary/dunder-method): A method with double underscores, like \_\_len\_\_, that Python calls for you.
- [duplicated()](https://www.ask-codey.com/glossary/duplicated): A pandas method that answers True for each row that repeats a row above it, on every column or on a subset.
- [Encapsulation](https://www.ask-codey.com/glossary/encapsulation): Keeping an object's data behind its methods so it's changed the safe way.
- [Environment Variable](https://www.ask-codey.com/glossary/environment-variable): A setting stored outside your code, the safe place for passwords and keys.
- [Estimator](https://www.ask-codey.com/glossary/estimator): scikit-learn's word for any object that learns from data with a fit method, such as LinearRegression or StandardScaler.
- [Exception](https://www.ask-codey.com/glossary/exception): Python's way of reporting an error while a program runs.
- [Exception Chaining (raise … from)](https://www.ask-codey.com/glossary/exception-chaining-raise-from): Raising a clearer error while keeping the original attached (raise ... from).
- [Exploratory Data Analysis](https://www.ask-codey.com/glossary/exploratory-data-analysis): Looking around a new dataset to learn what's in it before answering a question: its size, columns, gaps and odd values. Often shortened to EDA.
- [Fairlearn](https://www.ask-codey.com/glossary/fairlearn): A Python package for checking and improving a model's fairness, with MetricFrame for scores by group and gap measures such as demographic parity.
- [Figure](https://www.ask-codey.com/glossary/figure-python): In matplotlib, the whole image that gets saved, like a sheet of paper with one or more charts drawn on it.
- [fillna()](https://www.ask-codey.com/glossary/fillna): A pandas method that puts a stand-in, such as "Unknown" or a median, into every missing value.
- [filter()](https://www.ask-codey.com/glossary/filter): Keeps only the items that pass a test.
- [finally](https://www.ask-codey.com/glossary/finally): Runs after try/except no matter what, for clean-up.
- [fit_predict()](https://www.ask-codey.com/glossary/fit-predict): The scikit-learn method that fits a model and hands back its answers for the same rows in one call, as KMeans uses it.
- [glob()](https://www.ask-codey.com/glossary/glob-python): A pathlib method that finds the files in a folder whose names match a pattern, where \* stands for any text, such as week-\*.csv.
- [groupby()](https://www.ask-codey.com/glossary/groupby-python): The pandas method that sorts a table's rows into groups by a column's value, so each group can be totaled or averaged on its own.
- [Higher-Order Function](https://www.ask-codey.com/glossary/higher-order-function): A function that takes or returns another function.
- [Identity vs Equality (is vs ==)](https://www.ask-codey.com/glossary/identity-vs-equality-is-vs): == checks equal values; is checks the very same object.
- [iloc](https://www.ask-codey.com/glossary/iloc): Read "i loc": pandas' way to pick rows and columns by position, counting from 0; a slice stops before its end.
- [Imputation](https://www.ask-codey.com/glossary/imputation): Filling in missing values with stand-ins worked out from the data, such as a median; the statistics-class name for it.
- [Index](https://www.ask-codey.com/glossary/index-python): The labels of a pandas Series or DataFrame, one for each value or row, used to find them; without labels of your own, they count from 0.
- [Inheritance](https://www.ask-codey.com/glossary/inheritance): A new class starts with everything from another class, then adds or changes things.
- [Instance](https://www.ask-codey.com/glossary/instance): One object made from a class, with its own data.
- [ipykernel](https://www.ask-codey.com/glossary/ipykernel): The package that lets VS Code run a notebook's cells with a virtual environment's Python; it goes in each project's requirements.txt.
- [isin()](https://www.ask-codey.com/glossary/isin): A pandas method that answers True for each value found in a list, such as the categories boots or jackets.
- [Iterable](https://www.ask-codey.com/glossary/iterable): Anything you can loop over with for.
- [joblib](https://www.ask-codey.com/glossary/joblib): A Python package whose dump() and load() save a trained model to a file and read it back; scikit-learn's usual way to save models.
- [json Module](https://www.ask-codey.com/glossary/json-module): Turns Python data into JSON text and back.
- [KMeans](https://www.ask-codey.com/glossary/kmeans): scikit-learn's k-means: KMeans(n_clusters=3) learns the centers with fit(), and labels\_ says which cluster each row is in.
- [Lambda Function](https://www.ask-codey.com/glossary/lambda-function): A small, nameless one-line function.
- [List Comprehension](https://www.ask-codey.com/glossary/list-comprehension): Builds a new list from another collection in a single line.
- [Literal Type](https://www.ask-codey.com/glossary/literal-type-python): A type hint from Python's typing module that lists the only values allowed, such as Literal\["dog", "cat", "rabbit"\], matched exactly.
- [loc](https://www.ask-codey.com/glossary/loc): pandas' way to pick rows and columns by their labels, as df.loc\[rows, columns\]; a label slice includes its end.
- [logging Module](https://www.ask-codey.com/glossary/logging-module): A standard module that records what your program does, with levels.
- [Magic Command](https://www.ask-codey.com/glossary/magic-command): A line that starts with %, such as %autoreload 2: an instruction to a notebook's kernel, not Python, so it works only in a notebook.
- [Main Guard (if \_\_name\_\_ == "\_\_main\_\_")](https://www.ask-codey.com/glossary/main-guard-if-name-main): Runs code only when the file is run directly, not when imported.
- [make_pipeline()](https://www.ask-codey.com/glossary/make-pipeline): scikit-learn's shortcut that builds a Pipeline from the steps alone, naming each one after its class, such as standardscaler.
- [map()](https://www.ask-codey.com/glossary/map): Runs a function on every item in a collection.
- [matplotlib](https://www.ask-codey.com/glossary/matplotlib): The Python package most charts are drawn with: a Figure holds one or more Axes, and each Axes is one chart.
- [merge()](https://www.ask-codey.com/glossary/merge-python): A pandas method that joins two tables side by side by a key column they share, the job a spreadsheet's VLOOKUP does; how= says which rows that don't match are kept.
- [Method](https://www.ask-codey.com/glossary/method): A function that belongs to a class, called on an object with a dot.
- [Method Chaining](https://www.ask-codey.com/glossary/method-chaining-python): Writing several pandas steps as one expression, one method per line, each working on the table the step before it returned.
- [Method Overriding](https://www.ask-codey.com/glossary/method-overriding): A child class writing its own version of an inherited method.
- [Namespace](https://www.ask-codey.com/glossary/namespace): A set of names kept separate so they do not clash.
- [NaT](https://www.ask-codey.com/glossary/nat): Read "not a time": pandas' mark for a missing date or length of time.
- [nbconvert](https://www.ask-codey.com/glossary/nbconvert): The Jupyter tool that converts a notebook to other formats: jupyter nbconvert --to html story.ipynb writes a web page anyone can open.
- [nlargest()](https://www.ask-codey.com/glossary/nlargest): A pandas method that gives the rows with the largest values in a column, such as the three most-reviewed products.
- [np.where()](https://www.ask-codey.com/glossary/np-where): A NumPy function that gives each row one of two values: the first where a condition is True, the second where it's False.
- [NumPy](https://www.ask-codey.com/glossary/numpy): The Python library for fast math on arrays of numbers; pandas keeps every column's values in a NumPy array.
- [NumPy Array](https://www.ask-codey.com/glossary/numpy-array): NumPy's container (ndarray): many values of one type, packed side by side, that does math on all of them at once.
- [OneHotEncoder](https://www.ask-codey.com/glossary/onehotencoder): scikit-learn's tool for one-hot encoding: it learns each column's categories with fit() and makes a 0-or-1 column for each.
- [openpyxl](https://www.ask-codey.com/glossary/openpyxl): The Python library that reads and writes Excel .xlsx files; pandas uses it behind read_excel, so it must be installed.
- [OrdinalEncoder](https://www.ask-codey.com/glossary/ordinalencoder): scikit-learn's tool that turns each category into a number, 0, 1, 2 and so on, in an order you can set, such as small, medium, large.
- [Package](https://www.ask-codey.com/glossary/package): A folder of related modules you can import from.
- [pandas](https://www.ask-codey.com/glossary/pandas): The Python package for tables of data: it reads a CSV file into a DataFrame, then sorts, filters, totals and charts it in a line or two.
- [pathlib](https://www.ask-codey.com/glossary/pathlib): Python's standard module for file and folder paths: a Path holds an address in parts, joins them with / and reads a file's name, stem, suffix and parent.
- [Pattern Matching (match/case)](https://www.ask-codey.com/glossary/pattern-matching-match-case): match/case: compares a value against patterns and runs the first that fits.
- [PEP 8](https://www.ask-codey.com/glossary/pep-8): Python's official style guide for how code should look.
- [pickle](https://www.ask-codey.com/glossary/pickle): Python's built-in module that turns objects, a trained model included, into bytes and back; never load a pickle you don't trust.
- [pip](https://www.ask-codey.com/glossary/pip): The tool that installs Python packages from the internet.
- [pip-audit](https://www.ask-codey.com/glossary/pip-audit): A command that checks a project's packages against a public list of known security holes, and names the version that fixes each.
- [Pipeline](https://www.ask-codey.com/glossary/pipeline-python): A scikit-learn object that chains preparing steps and a model into one, so fit() and predict() run every step in order.
- [pivot_table()](https://www.ask-codey.com/glossary/pivot-table-python): The pandas method that builds a pivot table from index, columns, values and aggfunc, with fill_value for empty squares and margins for totals.
- [plt.close()](https://www.ask-codey.com/glossary/plt-close): Closes a matplotlib figure so pyplot stops keeping it in memory; a test calls plt.close(fig) when it has read the chart.
- [Polymorphism](https://www.ask-codey.com/glossary/polymorphism): Different objects answering the same method call in their own way.
- [predict_proba()](https://www.ask-codey.com/glossary/predict-proba): The scikit-learn method that gives, for each row, the classifier's probability for every class, in the order of classes\_.
- [Private Attribute (\_name)](https://www.ask-codey.com/glossary/private-attribute-name): An attribute starting with \_ that others should leave alone.
- [pytest](https://www.ask-codey.com/glossary/pytest): The most popular Python testing tool: test functions with plain assert.
- [pytest.raises](https://www.ask-codey.com/glossary/pytest-raises): pytest's way to make sure code raises an error: a test passes only when the code inside with pytest.raises(...) raises that error.
- [Quartile](https://www.ask-codey.com/glossary/quartile): One of the values that cut sorted data into quarters: 25% of the values are at or below the first, half at or below the second (the median).
- [raise](https://www.ask-codey.com/glossary/raise): Triggers an exception on purpose.
- [raise_for_status()](https://www.ask-codey.com/glossary/raise-for-status): A requests response method that raises an HTTPError when the status code is from 400 to 599, and does nothing otherwise.
- [Random Seed](https://www.ask-codey.com/glossary/random-seed): The starting number for Python's random numbers: the same seed gives the same "random" results on every run, which is what tests need.
- [read_excel()](https://www.ask-codey.com/glossary/read-excel): pd.read_excel loads a sheet of an Excel workbook into a DataFrame; sheet_name picks the sheet and skiprows steps over title rows.
- [read_json()](https://www.ask-codey.com/glossary/read-json): pd.read_json loads JSON into a DataFrame, a row for each record; lines=True reads JSON Lines.
- [Regular Expression](https://www.ask-codey.com/glossary/regular-expression): A pattern for finding or checking text.
- [rename()](https://www.ask-codey.com/glossary/rename): A pandas method that hands back a table with new column names, given a dictionary of old name to new name in columns=.
- [requests](https://www.ask-codey.com/glossary/requests): The Python package most programs use to call web APIs: requests.get sends a request and gives back a response to read.
- [requirements.txt](https://www.ask-codey.com/glossary/requirements-txt): A file listing the packages a project needs.
- [reset_index()](https://www.ask-codey.com/glossary/reset-index): A pandas method that numbers a table's rows 0, 1, 2 again, moving the old row labels, such as a groupby's groups, into a column, or dropping them with drop=True.
- [Ruff](https://www.ask-codey.com/glossary/ruff): A fast Python linter and formatter in one tool: ruff check finds likely mistakes such as unused imports, and ruff format lays out every file the same way.
- [self](https://www.ask-codey.com/glossary/self): The object a method is working on, passed in automatically.
- [Series](https://www.ask-codey.com/glossary/series): One column of a pandas table, with the table's row labels; its methods, such as sum() and max(), work on the whole column at once.
- [Series.map()](https://www.ask-codey.com/glossary/series-map): A pandas method that, given a dictionary, gives each value the one the dictionary pairs with it, and NaN for a value it doesn't name.
- [Series.replace()](https://www.ask-codey.com/glossary/series-replace): A pandas method that, given a dictionary, changes only the values the dictionary names and leaves every other value as it was.
- [Set Comprehension](https://www.ask-codey.com/glossary/set-comprehension): Builds a new set from another collection in a single line, written in curly braces with one expression.
- [Set Operations](https://www.ask-codey.com/glossary/set-operations): Combining sets: | both, & shared, - only in the first.
- [set_index()](https://www.ask-codey.com/glossary/set-index): A pandas method that makes a column, such as a product code, the table's row labels, so loc can find rows by it.
- [set_ylim()](https://www.ask-codey.com/glossary/set-ylim): A matplotlib method that sets where a chart's y-axis starts and ends; set_ylim(bottom=0) starts it at zero.
- [Shallow Copy](https://www.ask-codey.com/glossary/shallow-copy): A new collection that still shares the items inside it with the original.
- [Shared Axis](https://www.ask-codey.com/glossary/shared-axis): One axis scale used by charts side by side, so their bars and lines compare by eye; plt.subplots(sharey=True) makes one.
- [shutil](https://www.ask-codey.com/glossary/shutil): Python's standard module for copying and moving files and folders, such as shutil.copy2 and shutil.move; read "shell utilities".
- [SimpleImputer](https://www.ask-codey.com/glossary/simpleimputer): scikit-learn's tool that fills missing values with one value per column learned in fit(), such as the column's median.
- [Split-Apply-Combine](https://www.ask-codey.com/glossary/split-apply-combine): What a grouping does in three steps: split the rows into groups, work out one number for each group, and combine the answers into one result.
- [sqlite3.IntegrityError](https://www.ask-codey.com/glossary/sqlite3-integrityerror): The exception Python's sqlite3 module raises when a change would break a rule of the data, such as a repeated value in a UNIQUE column.
- [Standard Deviation](https://www.ask-codey.com/glossary/standard-deviation): How far values usually sit from their average; describe() shows it as std.
- [StandardScaler](https://www.ask-codey.com/glossary/standardscaler): scikit-learn's tool that standardizes features: fit() learns each column's mean and standard deviation, transform() rescales with them.
- [Step Into](https://www.ask-codey.com/glossary/step-into): The debugger's command (F11 in VS Code) that goes inside the function the highlighted line calls and pauses on its first line.
- [Step Over](https://www.ask-codey.com/glossary/step-over): The debugger's command (F10 in VS Code) that runs the highlighted line, a function call included, and pauses on the next one.
- [str accessor](https://www.ask-codey.com/glossary/str-accessor): Read "dot s t r": the string tools of a pandas text column, such as strip, lower and contains, each working on every value at once.
- [str.replace()](https://www.ask-codey.com/glossary/str-replace): A pandas text tool that swaps one piece of text for another in every value of a column, such as taking " lbs" off weights.
- [str.split()](https://www.ask-codey.com/glossary/str-split): A pandas text tool that cuts each value at a separator, a space by default; expand=True puts the pieces in columns and n limits the cuts.
- [subplots()](https://www.ask-codey.com/glossary/subplots): plt.subplots makes a Figure and its Axes in one call: one chart, or a grid such as 2 by 2 picked as axs\[row, column\].
- [super()](https://www.ask-codey.com/glossary/super): Calls a method from the parent class, usually to add to it.
- [sys.argv](https://www.ask-codey.com/glossary/sys-argv): The list of words a Python program was started with: the script's name first, then each word typed after it, all as strings.
- [Test Fixture](https://www.ask-codey.com/glossary/test-fixture): Shared setup, like sample data, that tests can use.
- [Third-Party Library](https://www.ask-codey.com/glossary/third-party-library): Code written by others that you install with pip.
- [Tidy Data](https://www.ask-codey.com/glossary/tidy-data): The textbook name for a table where each row is one observation and each column is one kind of value.
- [Timedelta](https://www.ask-codey.com/glossary/timedelta): pandas' type for a length of time, such as 60 days 16 hours or 27 minutes 15 seconds; subtracting two dates gives one.
- [Timestamp](https://www.ask-codey.com/glossary/timestamp): pandas' type for one date and time, such as 2026-08-03 07:40; a datetime64 column holds one per row.
- [tmp_path](https://www.ask-codey.com/glossary/tmp-path): A fixture pytest has built in: a new, empty folder for one test, where it can write files without touching the project.
- [to_datetime()](https://www.ask-codey.com/glossary/to-datetime): pd.to_datetime turns text into dates; format= says how they were written, and errors="coerce" makes each date it can't read NaT.
- [to_excel()](https://www.ask-codey.com/glossary/to-excel): A pandas method that saves a table as an Excel workbook (.xlsx), using the openpyxl package.
- [to_html()](https://www.ask-codey.com/glossary/to-html): A pandas method that gives back a table as HTML text, ready to put in a web page; index=False leaves out the row numbers.
- [to_numeric()](https://www.ask-codey.com/glossary/to-numeric): pd.to_numeric turns a column of text into numbers; with errors="coerce", each value it can't read becomes NaN.
- [to_period()](https://www.ask-codey.com/glossary/to-period): A .dt method that turns each date into the period it falls in, such as its month, so rows can be grouped by month.
- [to_timedelta()](https://www.ask-codey.com/glossary/to-timedelta): pd.to_timedelta turns text such as "0:27:15" (hours:minutes:seconds) into a Timedelta, a length of time.
- [total_seconds()](https://www.ask-codey.com/glossary/total-seconds): A Timedelta method (.dt.total_seconds() on a column) that gives the length of time as a number of seconds.
- [try and except](https://www.ask-codey.com/glossary/try-and-except): try runs code that might fail; except catches the error instead of crashing.
- [Unit Test (unittest)](https://www.ask-codey.com/glossary/unit-test-unittest): Code that checks one function gives the right answer.
- [Vectorized Operation](https://www.ask-codey.com/glossary/vectorized-operation): Math done on a whole array or column at once, with no loop of your own, such as prices \* 0.9.
- [Version Pinning](https://www.ask-codey.com/glossary/version-pinning): Writing a package's exact version in requirements.txt, such as pytest==9.2.0, so every computer installs the same one.
- [Virtual Environment](https://www.ask-codey.com/glossary/virtual-environment): A project's own private set of installed packages.
- [Walrus Operator](https://www.ask-codey.com/glossary/walrus-operator): The := operator: saves a value and uses it in the same line.

[Read them in the glossary](https://www.ask-codey.com/glossary/subjects/python/journeyman)

Source: https://www.ask-codey.com/decks/python/journeyman
