File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
tests/nested_pandas/nestedframe Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ classifiers = [
1818dynamic = [" version" ]
1919requires-python = " >=3.9"
2020dependencies = [
21- " numpy" ,
21+ " numpy>=2 " ,
2222 # We use internal pd._libs.missing and experimental ArrowExtensionArray
2323 " pandas>=2.2,<2.3" ,
2424 " pyarrow>=15" ,
Original file line number Diff line number Diff line change @@ -1197,3 +1197,11 @@ def test_access_non_existing_column():
11971197 nf = NestedFrame ()
11981198 with pytest .raises (KeyError ):
11991199 _ = nf ["non_existing_column" ]
1200+
1201+
1202+ def test_issue193 ():
1203+ """https://github.com/lincc-frameworks/nested-pandas/issues/193"""
1204+ ndf = generate_data (3 , 3 )
1205+ ndf .query ("nested.flux / nested.t > 0" )
1206+ # This failed with numpy 1 with:
1207+ # TypeError: Cannot interpret 'double[pyarrow]' as a data type
You can’t perform that action at this time.
0 commit comments