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 720892c commit b1ef242Copy full SHA for b1ef242
python/pyspark/pandas/tests/computation/test_binary_ops.py
@@ -188,19 +188,6 @@ def test_divide_by_zero_behavior(self):
188
psdf = ps.from_pandas(pdf)
189
self.assert_eq(psdf["a"] / psdf["b"], pdf["a"] / pdf["b"])
190
191
- pdf = pd.DataFrame(
192
- {
193
- "a": [1, -1, 0],
194
- "b": [0, 0, 0],
195
- }
196
- )
197
- psdf = ps.from_pandas(pdf)
198
- # a / b: .. divide by zero
199
- self.assert_eq(psdf["a"] / psdf["b"], pdf["a"] / pdf["b"])
200
-
201
- # b / a: 0 divided by ..
202
- self.assert_eq(psdf["b"] / psdf["a"], pdf["b"] / pdf["a"])
203
204
def test_binary_operator_truediv(self):
205
# Positive
206
pdf = pd.DataFrame({"a": [3], "b": [2]})
0 commit comments