File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ def __init__(self, values) -> None:
81
81
pa_data = values
82
82
else :
83
83
raise ValueError (f"Unsupported type '{ type (values )} ' for JSONArray" )
84
-
84
+
85
85
# Ensures compatibility with pandas version 1.5.3
86
- if hasattr (self , ' _data' ):
86
+ if hasattr (self , " _data" ):
87
87
self ._data = pa_data
88
- elif hasattr (self , ' _pa_array' ):
88
+ elif hasattr (self , " _pa_array" ):
89
89
self ._pa_array = pa_data
90
90
else :
91
91
raise ValueError (f"Unsupported pandas version: { pd .__version__ } " )
@@ -160,9 +160,9 @@ def dtype(self) -> JSONDtype:
160
160
def pa_data (self ):
161
161
"""An instance of stored pa data"""
162
162
# Ensures compatibility with pandas version 1.5.3
163
- if hasattr (self , ' _data' ):
163
+ if hasattr (self , " _data" ):
164
164
return self ._data
165
- elif hasattr (self , ' _pa_array' ):
165
+ elif hasattr (self , " _pa_array" ):
166
166
return self ._pa_array
167
167
168
168
def _cmp_method (self , other , op ):
You can’t perform that action at this time.
0 commit comments