Skip to content

Commit b3c5fdf

Browse files
authored
Merge pull request #4238 from lanzagar/conc-stackseq
table: Avoid deprecated hstack use in concatenate
2 parents bc08b7f + 2455584 commit b3c5fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/data/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ def collect(attr):
859859
vstack(collect("metas")),
860860
merge1d(collect("W"))
861861
)
862-
conc.ids = np.hstack(map(operator.attrgetter("ids"), tables))
862+
conc.ids = np.hstack([t.ids for t in tables])
863863
names = [table.name for table in tables if table.name != "untitled"]
864864
if names:
865865
conc.name = names[0]

0 commit comments

Comments
 (0)