EXPAND ALL
  • Home

DataFrame.append

Unions the passed in dataframes with this DataFrame.

Unions the rows of the passed in DataFrames with this DataFrame. The passed in DataFrames. must have the same relation or append will throw a compilation error. Use merge to combine DataFrames with different relations. If there is a time column in the relation, append sorts the Unioned data by time. If there is no time column, then append will simply return a DataFrame with each DataFrame stacked on the other.

Arguments

NameTypeDescription
otherpx.DataFrameThe DataFrame to union with this one, relation must be the same.

Returns

px.DataFrame: This DataFrame unioned with the passed in argument.

Examples

df1 = px.DataFrame('process_stats', start_time='-10m', end_time='-9m')
df2 = px.DataFrame('process_stats', start_time='-1m')
df = df1.append(df2)

This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.