To increase code readability when applying multiple functions to a DataFrame, use the pandas.DataFrame.pipe method.
pandas.DataFrame.pipe
DuckDB: Simplify DataFrame Analysis with Serverless SQL
Simplifying Dataset Comparison with Datacompy
Fuzzy Joining Tables with Non-Exact Matching Entries