gayatrikate04 commented on code in PR #1533:
URL: https://github.com/apache/iceberg-python/pull/1533#discussion_r1925652416


##########
pyiceberg/table/inspect.py:
##########
@@ -95,7 +139,21 @@ def snapshots(self) -> "pa.Table":
         )
 
     def entries(self, snapshot_id: Optional[int] = None) -> "pa.Table":
-        import pyarrow as pa
+        """ Generate a table of manifest entries for a specific snapshot.
+
+         This method retrieves metadata for all manifest entries within a 
given snapshot, 
+         including file-level statistics such as column sizes and value counts.
+
+         Args:
+            snapshot_id (Optional[int]): The ID of the snapshot to retrieve 
entries for. 
+              If None, entries for the current snapshot are returned.

Review Comment:
   Thank you for the feedback! I’m glad you liked the description. I’ll review 
other similar functions and update their docstrings to use a more generic and 
consistent phrasing as suggested. Let me know if there are any additional 
improvements you'd like to see



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to