MrPowers opened a new issue, #67:
URL: https://github.com/apache/sedona-spatialbench/issues/67

   I computed the file sizes for scale factor 1 as follows:
   
   ```python
   import pandas as pd
   
   def get_mem(df):
       # Get memory usage in bytes
       memory_usage = df.memory_usage(deep=True).sum()
       
       print(f"Memory size: {memory_usage:,} bytes")
       print(f"Memory size: {memory_usage / (1024**2):.2f} MB")
   
   df = pd.read_parquet('building.parquet')
   get_mem(df)
   ```
   
   Here are the file sizes for SF1:
   
   | Table    | Size (sf1) |
   |----------|------------|
   | building | 4.06 MB    |
   | customer | 9.30 MB    |
   | driver   | 0.15 MB    |
   | trip     | 3547.67 MB |
   | vehicle  | 0.02 MB    |
   | zone     | 1388.61 MB |
   
   Perhaps we can expose a helper to fetch the uncompressed data size and add 
this info to the documentation?


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