Skip to content

Commit 759c355

Browse files
committed
Fix build
Make compatible with pandas v2.
1 parent 631fff3 commit 759c355

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plateo/applications/doe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def convert_valuetable_to_volumetable(valuetable, source_plate=None):
99
# 1 microliter = 1e-6 L
1010
# 'units' is the default name for a special line in the valuetable
1111
unit_line = "units"
12-
unit_dict = {index: value for index, value in valuetable.loc[unit_line].iteritems()}
12+
unit_dict = {index: value for index, value in valuetable.loc[unit_line].items()}
1313
# SI unit: (multiplier, type)
1414
unit_interpreter = {
1515
"L": (1, "volume"),

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
packages=find_packages(exclude="docs"),
2020
include_package_data=True,
2121
install_requires=[
22-
"pandas>=0.22",
22+
"pandas",
2323
"xlwt",
2424
"xlrd",
2525
"openpyxl",

0 commit comments

Comments
 (0)