rmnskb commented on code in PR #47147: URL: https://github.com/apache/arrow/pull/47147#discussion_r2264057560
########## python/pyarrow/pandas_compat.py: ########## @@ -275,11 +275,14 @@ def construct_metadata(columns_to_convert, df, column_names, index_levels, else: index_descriptors = index_column_metadata = column_indexes = [] + attributes: dict = df.attrs if df.attrs else {} Review Comment: Removed the type annotations and went with the safer approach -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org