-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.2rc1 Table tests that call pandas failed #8682
Comments
For the from io import StringIO
from astropy.table import Table
fmt = 'csv'
pandas_fmt = 'pandas.' + fmt
t = Table([[1, 2, 3], [1.0, 2.5, 5.0], ['a', 'b', 'c']])
buf = StringIO()
t.write(buf, format=pandas_fmt)
buf.seek(0)
t2 = Table.read(buf, format=pandas_fmt)
In this case, @taldcroft , what is the best way forward here? Do we mark these xref #8381 |
p.s. But but... it seems like Hmm... Maybe https://stackoverflow.com/questions/29245848/what-are-all-the-dtypes-that-pandas-recognizes explains it? |
because the default int is |
Yes, I don't understand the non-failure on circleCI. AFAIK the default for int on all windows platforms is int32, and this has been a continual source of pain in table test development. My usual workaround is being explicit with int types, so e.g. use |
I got it, we don't install pandas in that build, so this test never gets run. |
Aha! Adding |
@taldcroft , would #8688 sufficiently address this? If so, please approve that PR so we can move on, thanks! |
Fixed in #8688 |
Is
pandas
0.23.4 too old? UPDATE: Same errors withpandas
0.24.2.The text was updated successfully, but these errors were encountered: