A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/13646 below:

Series construction w/integer tuples failing on windows · Issue #13646 · pandas-dev/pandas · GitHub

This just started failing on windows on master, in the last few PR's. Prob related to #13147.

tuples are not being upcast like lists.

======================================================================
FAIL: test_alignment_non_pandas (pandas.tests.frame.test_operators.TestDataFrameOperators)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\conda\Documents\pandas3.5\pandas\tests\frame\test_operators.py", line 1203, in test_alignment_non_pandas
    Series([1, 2, 3], index=df.index))
  File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1157, in assert_series_equal
    assert_attr_equal('dtype', left, right)
  File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 882, in assert_attr_equal
    left_attr, right_attr)
  File "C:\Users\conda\Documents\pandas3.5\pandas\util\testing.py", line 1021, in raise_assert_detail
    raise AssertionError(msg)
AssertionError: Attributes are different

Attribute "dtype" are different
[left]:  int32
[right]: int64None
In [3]: import pandas as pd

In [4]: pd.__version__
Out[4]: '0.18.1+193.g20de266.dirty'

In [5]: pd.Series((1,2,3))
Out[5]:
0    1
1    2
2    3
dtype: int32

In [6]: pd.Series([1,2,3])
Out[6]:
0    1
1    2
2    3
dtype: int64

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4