-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
import pdtable
import pandas as pd
tables = [
pdtable.Table(
pd.DataFrame({
"col1": [1, 2],
"col2": ["a", "b"]
}),
name="t1"
),
pdtable.Table(
pd.DataFrame({
"col1": [3, 4],
"col2": ["c", "d"]
}),
name="t2"
),
]
concat = pd.concat([t.df for t in tables], keys=[t.name for t in tables])
print(pdtable.Table(concat).name)
# >>> t1expected behaviour: in the absence of a metadata that makes sense for all tables, the concat operation should return a plain pd.DataFrame
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels