Skip to content

Instantly share code, notes, and snippets.

View christophermadsen's full-sized avatar
:octocat:

Christopher Buch Madsen christophermadsen

:octocat:
View GitHub Profile
def flatten_item_columns(
df: pd.DataFrame,
language_priority: list[str] = [
"en-US",
"en-GB",
"fr-FR",
"de-DE",
"nl-NL",
"es-ES",
"de-CH",