(self)
| 621 | assert data_column['numpy_type'] == 'object' |
| 622 | |
| 623 | def test_struct_metadata(self): |
| 624 | df = pd.DataFrame({'dicts': [{'a': 1, 'b': 2}, {'a': 3, 'b': 4}]}) |
| 625 | table = pa.Table.from_pandas(df) |
| 626 | pandas_metadata = table.schema.pandas_metadata |
| 627 | assert pandas_metadata['columns'][0]['pandas_type'] == 'object' |
| 628 | |
| 629 | def test_decimal_metadata(self): |
| 630 | expected = pd.DataFrame({ |
nothing calls this directly
no outgoing calls
no test coverage detected