Skip to content

Commit 67138fe

Browse files
author
Santhosh18
committed
Fixed Linting issues
1 parent 87e493d commit 67138fe

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
@@ -660,7 +660,7 @@ Using :meth:`DataFrame.explode` and :meth:`Series.explode` would always return a
660660

661661
.. ipython:: python
662662
663-
s = pd.Series([1,2,3])
663+
s = pd.Series([1, 2, 3])
664664
df = pd.DataFrame({'A': [s, s, s, s], 'B': 1})
665665
666666
*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)