DatSplit commented on issue #37989:
URL: https://github.com/apache/arrow/issues/37989#issuecomment-2582975981

   Hi @amoeba @kr-hansen @nicksilver, after reproducing original example 
mentioned of #37989 I believe this specific issue is fixed:
   1st pa.Table.from_pandas() call:
   `Line #    Mem usage    Increment  Occurrences   Line Contents
   =============================================================
       74     81.0 MiB     81.0 MiB           1   @profile
       75                                         def convert_df_to_table(df: 
pd.DataFrame) -> None:
       76     81.0 MiB      0.0 MiB           1        table = 
pa.Table.from_pandas(df, schema=pa.schema(sample_schema))`
   
   10000th call:
   `Line #    Mem usage    Increment  Occurrences   Line Contents
   =============================================================
       74     81.0 MiB     81.0 MiB           1   @profile
       75                                         def convert_df_to_table(df: 
pd.DataFrame) -> None:
       76     81.0 MiB      0.0 MiB           1        table = 
pa.Table.from_pandas(df, schema=pa.schema(sample_schema))`
   
   So, quite frankly I do not know what might have caused our issues.


-- 
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