@@ -1386,6 +1386,8 @@ def test_numpy_func_call(self):
1386
1386
for func in funcs :
1387
1387
getattr (np , func )(self .frame )
1388
1388
1389
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1390
+ '(GH 17386)' )
1389
1391
def test_where_with_int_data (self ):
1390
1392
# GH 17386
1391
1393
data = [[1 , 1 ], [2 , 2 ], [3 , 3 ], [4 , 4 ], [0 , 0 ]]
@@ -1401,6 +1403,8 @@ def test_where_with_int_data(self):
1401
1403
tm .assert_frame_equal (result , dense_expected )
1402
1404
tm .assert_sp_frame_equal (result , sparse_expected )
1403
1405
1406
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1407
+ '(GH 17386)' )
1404
1408
def test_where_with_int_data_and_int_other (self ):
1405
1409
# GH 17386
1406
1410
data = [[1 , 1 ], [2 , 2 ], [3 , 3 ], [4 , 4 ], [0 , 0 ]]
@@ -1418,6 +1422,8 @@ def test_where_with_int_data_and_int_other(self):
1418
1422
tm .assert_frame_equal (result , dense_expected )
1419
1423
tm .assert_sp_frame_equal (result , sparse_expected )
1420
1424
1425
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1426
+ '(GH 17386)' )
1421
1427
def test_where_with_int_data_and_float_other (self ):
1422
1428
# GH 17386
1423
1429
data = [[1 , 1 ], [2 , 2 ], [3 , 3 ], [4 , 4 ], [0 , 0 ]]
@@ -1435,6 +1441,8 @@ def test_where_with_int_data_and_float_other(self):
1435
1441
tm .assert_frame_equal (result , dense_expected )
1436
1442
tm .assert_sp_frame_equal (result , sparse_expected )
1437
1443
1444
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1445
+ '(GH 17386)' )
1438
1446
def test_where_with_int_data_and_complex_other (self ):
1439
1447
# GH 17386
1440
1448
data = [[1 , 1 ], [2 , 2 ], [3 , 3 ], [4 , 4 ], [0 , 0 ]]
@@ -1452,6 +1460,8 @@ def test_where_with_int_data_and_complex_other(self):
1452
1460
tm .assert_frame_equal (result , dense_expected )
1453
1461
tm .assert_sp_frame_equal (result , sparse_expected )
1454
1462
1463
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1464
+ '(GH 17386)' )
1455
1465
def test_where_with_int_data_and_bool_other (self ):
1456
1466
# GH 17386
1457
1467
data = [[1 , 1 ], [2 , 2 ], [3 , 3 ], [4 , 4 ], [0 , 0 ]]
@@ -1469,6 +1479,8 @@ def test_where_with_int_data_and_bool_other(self):
1469
1479
tm .assert_frame_equal (result , dense_expected )
1470
1480
tm .assert_sp_frame_equal (result , sparse_expected )
1471
1481
1482
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1483
+ '(GH 17386)' )
1472
1484
def test_where_with_float_data (self ):
1473
1485
# GH 17386
1474
1486
data = [[1.0 , 1.0 ], [2.0 , 2.0 ], [3.0 , 3.0 ], [4.0 , 4.0 ], [nan , nan ]]
@@ -1484,6 +1496,8 @@ def test_where_with_float_data(self):
1484
1496
tm .assert_frame_equal (result , dense_expected )
1485
1497
tm .assert_sp_frame_equal (result , sparse_expected )
1486
1498
1499
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1500
+ '(GH 17386)' )
1487
1501
def test_where_with_float_data_and_int_other (self ):
1488
1502
# GH 17386
1489
1503
data = [[1.0 , 1.0 ], [2.0 , 2.0 ], [3.0 , 3.0 ], [4.0 , 4.0 ], [nan , nan ]]
@@ -1501,6 +1515,8 @@ def test_where_with_float_data_and_int_other(self):
1501
1515
tm .assert_frame_equal (result , dense_expected )
1502
1516
tm .assert_sp_frame_equal (result , sparse_expected )
1503
1517
1518
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1519
+ '(GH 17386)' )
1504
1520
def test_where_with_float_data_and_float_other (self ):
1505
1521
# GH 17386
1506
1522
data = [[1.0 , 1.0 ], [2.0 , 2.0 ], [3.0 , 3.0 ], [4.0 , 4.0 ], [nan , nan ]]
@@ -1518,6 +1534,8 @@ def test_where_with_float_data_and_float_other(self):
1518
1534
tm .assert_frame_equal (result , dense_expected )
1519
1535
tm .assert_sp_frame_equal (result , sparse_expected )
1520
1536
1537
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1538
+ '(GH 17386)' )
1521
1539
def test_where_with_float_data_and_complex_other (self ):
1522
1540
# GH 17386
1523
1541
data = [[1.0 , 1.0 ], [2.0 , 2.0 ], [3.0 , 3.0 ], [4.0 , 4.0 ], [nan , nan ]]
@@ -1535,6 +1553,8 @@ def test_where_with_float_data_and_complex_other(self):
1535
1553
tm .assert_frame_equal (result , dense_expected )
1536
1554
tm .assert_sp_frame_equal (result , sparse_expected )
1537
1555
1556
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1557
+ '(GH 17386)' )
1538
1558
def test_where_with_float_data_and_bool_other (self ):
1539
1559
# GH 17386
1540
1560
data = [[1.0 , 1.0 ], [2.0 , 2.0 ], [3.0 , 3.0 ], [4.0 , 4.0 ], [nan , nan ]]
@@ -1552,6 +1572,8 @@ def test_where_with_float_data_and_bool_other(self):
1552
1572
tm .assert_frame_equal (result , dense_expected )
1553
1573
tm .assert_sp_frame_equal (result , sparse_expected )
1554
1574
1575
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1576
+ '(GH 17386)' )
1555
1577
def test_where_with_complex_data (self ):
1556
1578
# GH 17386
1557
1579
data = [[1.0 , 1.0 + 1.0j ],
@@ -1571,6 +1593,8 @@ def test_where_with_complex_data(self):
1571
1593
tm .assert_frame_equal (result , dense_expected )
1572
1594
tm .assert_sp_frame_equal (result , sparse_expected )
1573
1595
1596
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1597
+ '(GH 17386)' )
1574
1598
def test_where_with_complex_data_and_int_other (self ):
1575
1599
# GH 17386
1576
1600
data = [[1.0 , 1.0 + 1.0j ],
@@ -1592,6 +1616,8 @@ def test_where_with_complex_data_and_int_other(self):
1592
1616
tm .assert_frame_equal (result , dense_expected )
1593
1617
tm .assert_sp_frame_equal (result , sparse_expected )
1594
1618
1619
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1620
+ '(GH 17386)' )
1595
1621
def test_where_with_complex_data_and_float_other (self ):
1596
1622
# GH 17386
1597
1623
data = [[1.0 , 1.0 + 1.0j ],
@@ -1613,6 +1639,8 @@ def test_where_with_complex_data_and_float_other(self):
1613
1639
tm .assert_frame_equal (result , dense_expected )
1614
1640
tm .assert_sp_frame_equal (result , sparse_expected )
1615
1641
1642
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1643
+ '(GH 17386)' )
1616
1644
def test_where_with_complex_data_and_complex_other (self ):
1617
1645
# GH 17386
1618
1646
data = [[1.0 , 1.0 + 1.0j ],
@@ -1634,6 +1662,8 @@ def test_where_with_complex_data_and_complex_other(self):
1634
1662
tm .assert_frame_equal (result , dense_expected )
1635
1663
tm .assert_sp_frame_equal (result , sparse_expected )
1636
1664
1665
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1666
+ '(GH 17386)' )
1637
1667
def test_where_with_complex_data_and_bool_other (self ):
1638
1668
# GH 17386
1639
1669
data = [[1.0 , 1.0 + 1.0j ],
@@ -1655,6 +1685,8 @@ def test_where_with_complex_data_and_bool_other(self):
1655
1685
tm .assert_frame_equal (result , dense_expected )
1656
1686
tm .assert_sp_frame_equal (result , sparse_expected )
1657
1687
1688
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1689
+ '(GH 17386)' )
1658
1690
def test_where_with_bool_data (self ):
1659
1691
# GH 17386
1660
1692
data = [[False , False ], [True , True ], [False , False ]]
@@ -1670,6 +1702,8 @@ def test_where_with_bool_data(self):
1670
1702
tm .assert_frame_equal (result , dense_expected )
1671
1703
tm .assert_sp_frame_equal (result , sparse_expected )
1672
1704
1705
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1706
+ '(GH 17386)' )
1673
1707
def test_where_with_bool_data_and_bool_other (self ):
1674
1708
# GH 17386
1675
1709
data = [[False , False ], [True , True ], [False , False ]]
@@ -1687,6 +1721,8 @@ def test_where_with_bool_data_and_bool_other(self):
1687
1721
tm .assert_frame_equal (result , dense_expected )
1688
1722
tm .assert_sp_frame_equal (result , sparse_expected )
1689
1723
1724
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1725
+ '(GH 17386)' )
1690
1726
def test_where_with_bool_data_and_complex_other (self ):
1691
1727
# GH 17386
1692
1728
data = [[False , False ], [True , True ], [False , False ]]
@@ -1704,6 +1740,8 @@ def test_where_with_bool_data_and_complex_other(self):
1704
1740
tm .assert_frame_equal (result , dense_expected )
1705
1741
tm .assert_sp_frame_equal (result , sparse_expected )
1706
1742
1743
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1744
+ '(GH 17386)' )
1707
1745
def test_quantile (self ):
1708
1746
# GH 17386
1709
1747
data = [[1 , 1 ], [2 , 10 ], [3 , 100 ], [nan , nan ]]
@@ -1719,6 +1757,8 @@ def test_quantile(self):
1719
1757
tm .assert_series_equal (result , dense_expected )
1720
1758
tm .assert_sp_series_equal (result , sparse_expected )
1721
1759
1760
+ @pytest .mark .xfail (reason = 'Wrong SparseBlock initialization '
1761
+ '(GH 17386)' )
1722
1762
def test_quantile_multi (self ):
1723
1763
# GH 17386
1724
1764
data = [[1 , 1 ], [2 , 10 ], [3 , 100 ], [nan , nan ]]
0 commit comments