When working with pandas DataFrame, if you want to transform each element in an iterable to a row, use explode
use explode
My previous tips on pandas.
DuckDB: Simplify DataFrame Analysis with Serverless SQL
Simplifying Dataset Comparison with Datacompy
Fuzzy Joining Tables with Non-Exact Matching Entries