File tree 1 file changed +11
-0
lines changed 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -449,6 +449,11 @@ def test_mixed_column_names(self):
449
449
preserve_index = True )
450
450
451
451
def test_binary_column_name (self ):
452
+ if Version ("2.0.0.dev0" ) <= Version (pd .__version__ ) < Version ("2.0.0" ):
453
+ # TODO: regression in pandas, should be fixed before final 2.0.0
454
+ # https://issues.apache.org/jira/browse/ARROW-18394
455
+ # https://github.com/pandas-dev/pandas/issues/50127
456
+ pytest .skip ("Regression in pandas 2.0.0.dev" )
452
457
column_data = ['い' ]
453
458
key = 'あ' .encode ()
454
459
data = {key : column_data }
@@ -2877,6 +2882,12 @@ def _fully_loaded_dataframe_example():
2877
2882
2878
2883
@pytest .mark .parametrize ('columns' , ([b'foo' ], ['foo' ]))
2879
2884
def test_roundtrip_with_bytes_unicode (columns ):
2885
+ if Version ("2.0.0.dev0" ) <= Version (pd .__version__ ) < Version ("2.0.0" ):
2886
+ # TODO: regression in pandas, should be fixed before final 2.0.0
2887
+ # https://issues.apache.org/jira/browse/ARROW-18394
2888
+ # https://github.com/pandas-dev/pandas/issues/50127
2889
+ pytest .skip ("Regression in pandas 2.0.0.dev" )
2890
+
2880
2891
df = pd .DataFrame (columns = columns )
2881
2892
table1 = pa .Table .from_pandas (df )
2882
2893
table2 = pa .Table .from_pandas (table1 .to_pandas ())
You can’t perform that action at this time.
0 commit comments