skrawcz commented on code in PR #1444:
URL: https://github.com/apache/hamilton/pull/1444#discussion_r2706175680


##########
hamilton/plugins/pandas_extensions.py:
##########
@@ -257,8 +252,17 @@ def _get_loading_kwargs(self) -> Dict[str, Any]:
             kwargs["float_precision"] = self.float_precision
         if self.storage_options is not None:
             kwargs["storage_options"] = self.storage_options
-        if pd.__version__ >= "2.0" and self.dtype_backend is not None:
-            kwargs["dtype_backend"] = self.dtype_backend
+        if pandas_version < Version("2.0"):

Review Comment:
   You need to import Version at the top of the file -- then tests should 
pass...



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