ContextLab / quail

A python toolbox for analyzing and plotting free recall data
http://cdl-quail.readthedocs.io/en/latest/
MIT License
20 stars 10 forks source link

get_value() method is deprecated and removed #120

Closed jwparks closed 3 years ago

jwparks commented 3 years ago

Thank you for great software.

I found some trivial errors when using quail package.

in the function quail.analysis.recmat._similarity_smooth, .get_values() method is removed in pandas now.

below is the list of lines which make trivial errors

lists = presented.index.get_values()
p = np.vstack(p_list.apply(get_feature).get_values())
r = r_list.dropna().apply(get_feature).get_values()

I tried to replace it by to_numpy() then anyway it works.

jeremymanning commented 3 years ago

thanks @jwparks -- this is fixed in the latest updated!