MCPcopy Create free account
hub / github.com/apache/arrow / test_roundtrip_with_bytes_unicode

Function test_roundtrip_with_bytes_unicode

python/pyarrow/tests/test_pandas.py:3363–3369  ·  view source on GitHub ↗
(columns)

Source from the content-addressed store, hash-verified

3361
3362@pytest.mark.parametrize('columns', ([b'foo'], ['foo']))
3363def 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
3372def _pytime_from_micros(val):

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.80

Tested by

no test coverage detected