From 64e792f5c0c12a217f713c3c38c37f1c035ac9e4 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 26 Jan 2022 17:49:51 -0600 Subject: [PATCH] Fix style. --- python/cudf/cudf/core/indexed_frame.py | 8 ++------ python/cudf/cudf/tests/test_dropna.py | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/python/cudf/cudf/core/indexed_frame.py b/python/cudf/cudf/core/indexed_frame.py index 19b8562ab75..9b42aca00d0 100644 --- a/python/cudf/cudf/core/indexed_frame.py +++ b/python/cudf/cudf/core/indexed_frame.py @@ -1298,9 +1298,7 @@ def dropna( 0 Alfred Batmobile 1940-04-25 """ if axis == 0: - result = self._drop_na_rows( - how=how, subset=subset, thresh=thresh - ) + result = self._drop_na_rows(how=how, subset=subset, thresh=thresh) else: result = self._drop_na_columns( how=how, subset=subset, thresh=thresh @@ -1308,9 +1306,7 @@ def dropna( return self._mimic_inplace(result, inplace=inplace) - def _drop_na_rows( - self, how="any", subset=None, thresh=None - ): + def _drop_na_rows(self, how="any", subset=None, thresh=None): """ Drop null rows from `self`. diff --git a/python/cudf/cudf/tests/test_dropna.py b/python/cudf/cudf/tests/test_dropna.py index a41c8d0c1c1..1e24dd9d275 100644 --- a/python/cudf/cudf/tests/test_dropna.py +++ b/python/cudf/cudf/tests/test_dropna.py @@ -289,4 +289,4 @@ def test_dropna_multiindex_2(data, how): expect = pi.dropna(how) got = gi.dropna(how) - assert_eq(expect, got) \ No newline at end of file + assert_eq(expect, got)