Closed NicolasDupuis closed 4 years ago
@NicolasDupuis Mind telling me what version of Pandas you're using?
In [1]: import pandas as pd
In [2]: pd.__version__
Out[2]: '1.0.3'
The 'string'
dtype is available from Pandas >= 1.0.
I tried to enforce the Pandas version, but pip
may just write a warning instead of upgrade Pandas when you install xport
.
https://github.com/selik/xport/blob/f894c01b6c6ba2b060f6f31c214508bd093e671a/setup.cfg#L43
hi,
Sure, sorry, I'm using pandas 1.0.3.
thanks!
This is mysterious. Pandas v1.0.3 should understand 'string'
dtype, yet it's giving you TypeError: data type 'string' not understood
. I couldn't reproduce the error except by downgrading Pandas below v1.
Hi. Well, I have no idea what happened but now it works. I first tried in Spyder, I thought maybe that was because of Jupyter. It worked without error. Then I tried again in Jupyter and it worked. I didn't update anything. I'm using Anaconda, maybe something happened behind the scene, I dunno. Quite weird. Anyway, thanks for your time. Bye.
@NicolasDupuis no worries. Sorry you had the frustration. Dependency management is a pain. If I'm working in an IDE like Spyder, I sometimes get confused between my terminal's activated Conda environment and the IDE's selected Conda environment.
Hello,
Thanks for maintaining this package, it's quite helpful.
I'm trying to run it and, while typing exactly what's in the help section, I'm getting a strange error message. I'm pretty sure it used to work. I'm using version 3.1.3 (from Anaconda).
Getting this log in Jupyter:
Any idea what's causing this?
thanks a lot,
Kind regards, Nicolas