Skip to content

Commit e160751

Browse files
authored
Unpin pandas (#72)
* unpin pandas * fix
1 parent 3e4339f commit e160751

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deepecho/models/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,6 @@ def sample(self, num_entities=None, context=None, sequence_length=None):
248248
for column, value in zip(self._context_columns, context_values):
249249
group[column] = value
250250

251-
output = output.append(group)
251+
output = pd.concat([output, group])
252252

253253
return output[self._output_columns].reset_index(drop=True)

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
install_requires = [
1515
"numpy>=1.20.0,<2;python_version<'3.10'",
1616
"numpy>=1.23.3,<2;python_version>='3.10'",
17-
"pandas>=1.1.3,<2;python_version<'3.10'",
18-
"pandas>=1.3.4,<2;python_version>='3.10'",
17+
"pandas>=1.1.3;python_version<'3.10'",
18+
"pandas>=1.3.4;python_version>='3.10'",
1919
"torch>=1.8.0;python_version<'3.10'",
2020
"torch>=1.11.0;python_version>='3.10'",
2121
'tqdm>=4.15,<5',

0 commit comments

Comments
 (0)