Skip to content

Commit d1ad12b

Browse files
committed
fix errors with new pandas
1 parent 969c362 commit d1ad12b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

drishti/handlers/handle_darshan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def handler():
357357

358358
detected_files = pd.DataFrame(df['counters'].groupby('id')[['INSIGHTS_POSIX_SMALL_READ', 'INSIGHTS_POSIX_SMALL_WRITE']].sum()).reset_index()
359359
detected_files.columns = ['id', 'total_reads', 'total_writes']
360-
detected_files.loc[:, 'id'] = detected_files.loc[:, 'id'].astype(str)
360+
detected_files['id'] = detected_files['id'].astype(str)
361361

362362
check_small_operation(total_reads, total_reads_small, total_writes, total_writes_small, detected_files, modules, file_map, dxt_posix, dxt_posix_read_data, dxt_posix_write_data)
363363

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
darshan>=3.4
1+
darshan
22
pandas>=2
33
rich>=12.5.1
4-
recorder-utils
4+
recorder-utils

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
setup(
1010
name="drishti-io",
1111
keywords="drishti",
12-
version="0.7.2",
12+
version="0.7.4",
1313
author="Jean Luca Bez, Suren Byna",
1414
author_email="jlbez@lbl.gov, sbyna@lbl.gov",
1515
description="",
@@ -18,7 +18,7 @@
1818
url="https://github.com/hpc-io/drishti",
1919
install_requires=[
2020
'pandas>=2',
21-
'darshan>=3.4',
21+
'darshan',
2222
'rich>=12.5.1',
2323
'recorder-utils',
2424
],

0 commit comments

Comments
 (0)