(columns)
| 3361 | |
| 3362 | @pytest.mark.parametrize('columns', ([b'foo'], ['foo'])) |
| 3363 | def test_roundtrip_with_bytes_unicode(columns): |
| 3364 | df = pd.DataFrame(columns=columns) |
| 3365 | table1 = pa.Table.from_pandas(df) |
| 3366 | table2 = pa.Table.from_pandas(table1.to_pandas()) |
| 3367 | assert table1.equals(table2) |
| 3368 | assert table1.schema.equals(table2.schema) |
| 3369 | assert table1.schema.metadata == table2.schema.metadata |
| 3370 | |
| 3371 | |
| 3372 | def _pytime_from_micros(val): |