Skip to content

Commit

Permalink
Use pandas pickle loading for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed May 9, 2024
1 parent 33e9c73 commit 31940d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indra/tests/test_belief_sklearn.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import random
import pickle
import numpy as np
import pandas as pd
from copy import copy
from os.path import join, abspath, dirname
from collections import defaultdict, Counter
Expand Down Expand Up @@ -37,8 +38,7 @@
test_stmts_cur, y_arr_stmts_cur = pickle.load(f)


with open(test_df_path, 'rb') as f:
test_df, y_arr_df = pickle.load(f)
test_df, y_arr_df = pd.read_pickle(test_df_path)


# A set of statements derived from Signor used for testing purposes.
Expand Down

0 comments on commit 31940d4

Please sign in to comment.