2888. Reshape Data Concatenate

Updated: 2024-03-12
1 min read
[]

On This Page

LeetCode problem 2888

import pandas as pd


def concatenateTables(df1: pd.DataFrame, df2: pd.DataFrame) -> pd.DataFrame:
    return pd.concat([df1, df2], ignore_index=True)