AlenkaF commented on issue #14025:
URL: https://github.com/apache/arrow/issues/14025#issuecomment-1235169914

   Oh, what about `pa.Schema.from_pandas(df)`? 🤦‍♀️ 
   
   ```python
   >>> import pyarrow as pa
   >>> pa.Schema.from_pandas(df)
   A: int64
   B: string
   C: timestamp[ns]
   -- schema metadata --
   pandas: '{"index_columns": [{"kind": "range", "name": "idx", "start": 0, ' + 
600
   >>> 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to