Skip to content

Commit d36f37f

Browse files
authored
bugfix in ts dataloader (#235)
* remove concat from time series dataloader unpack * pin xgboost
1 parent 7c1d9b5 commit d36f37f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ install_requires =
4747
pydantic<2.0
4848
cloudpickle
4949
scipy
50-
xgboost
50+
xgboost<2.0.0
5151
geomloss
5252
pgmpy
5353
redis

src/synthcity/plugins/core/dataloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ def unpack(self, as_numpy: bool = False, pad: bool = False) -> Any:
932932
longest_observation_seq = max([len(seq) for seq in temporal_data])
933933
return (
934934
np.asarray(static_data),
935-
np.asarray(pd.concat(temporal_data)),
935+
np.asarray(temporal_data),
936936
# masked array to handle variable length sequences
937937
ma.vstack(
938938
[

0 commit comments

Comments
 (0)