Skip to content

Commit 37e26aa

Browse files
committed
Updated read_file syntax for pandas > 2.0.
1 parent abaa15b commit 37e26aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks/spatter_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def ustride_plot(df_custom, kernel):
181181

182182
# Concatenate the new data to the old data
183183
with open('pattern_results_ext.pkl', 'rb') as file:
184-
df = pickle.load(file)
184+
df = pd.read_pickle(file)
185185

186186
if df_custom is not None:
187187
df = pd.concat([df, df_custom], ignore_index=True)

0 commit comments

Comments
 (0)