Closed borjaapaolaza closed 7 years ago
This version of the code considers the preprocessed data as input.
But you can use:
if type(dados) is pd.core.frame.DataFrame:
data = dados
else:
data = pd.read_csv(dados)
Laio O. Seman
On Thu, May 4, 2017 at 7:42 AM, a904012 notifications@github.com wrote:
Could you mean data = pandas.read_csv(dados) instead of data = dados line 31 of pylspm.py?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lseman/pylspm/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/ABoejlHO2etqOOMKYExeZlwIClDwufB_ks5r2auBgaJpZM4NQf_C .
Thank you, Laio.
Could you mean
data = pandas.read_csv(dados)
instead ofdata = dados
line 31 of pylspm.py?