We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 664ae2f commit c34b34dCopy full SHA for c34b34d
python/tests/test_dataframe.py
@@ -269,7 +269,7 @@ def test_join_on():
269
df = ctx.create_dataframe([[batch]], "l")
270
271
batch = pa.RecordBatch.from_arrays(
272
- [pa.array([1, 2]), pa.array([8, 10])],
+ [pa.array([1, 2]), pa.array([-8, 10])],
273
names=["a", "c"],
274
)
275
df1 = ctx.create_dataframe([[batch]], "r")
@@ -279,7 +279,7 @@ def test_join_on():
279
df2 = df2.sort(column("l.a"))
280
table = pa.Table.from_batches(df2.collect())
281
282
- expected = {"a": [1, 2], "c": [8, 10], "b": [4, 5]}
+ expected = {"a": [1, 2], "c": [-8, 10], "b": [4, 5]}
283
assert table.to_pydict() == expected
284
285
df3 = df.join_on(
@@ -291,8 +291,7 @@ def test_join_on():
291
df3.show()
292
df3 = df3.sort(column("l.a"))
293
table = pa.Table.from_batches(df3.collect())
294
-
295
+ expected = {"a": [2], "c": [10], "b": [5]}
296
297
298
0 commit comments