Skip to content

Commit 5ad650d

Browse files
author
Santhosh18
committed
Fixed Linting issues
1 parent bea26f7 commit 5ad650d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/source/whatsnew/v1.1.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ Using :meth:`DataFrame.explode` and :meth:`Series.explode` would always return a
670670

671671
.. ipython:: python
672672
673-
s = pd.Series([1,2,3])
673+
s = pd.Series([1, 2, 3])
674674
df = pd.DataFrame({'A': [s, s, s, s], 'B': 1})
675675
676676
*Previous behavior*:

pandas/tests/series/methods/test_explode.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ def test_basic():
99
s = pd.Series([[0, 1, 2], np.nan, [], (3, 4)], index=list("abcd"), name="foo")
1010
result = s.explode()
1111
expected = pd.Series(
12-
[0, 1, 2, np.nan, np.nan, 3, 4], index=list("aaabcdd"), dtype=np.float64, name="foo"
12+
[0, 1, 2, np.nan, np.nan, 3, 4], index=list("aaabcdd"),
13+
dtype=np.float64, name="foo"
1314
)
1415
tm.assert_series_equal(result, expected)
1516

0 commit comments

Comments
 (0)