Updated script that can be controled by Nodejs web app
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
from pandas import Series
|
||||
import pandas._testing as tm
|
||||
|
||||
|
||||
def test_pop():
|
||||
# GH#6600
|
||||
ser = Series([0, 4, 0], index=["A", "B", "C"], name=4)
|
||||
|
||||
result = ser.pop("B")
|
||||
assert result == 4
|
||||
|
||||
expected = Series([0, 0], index=["A", "C"], name=4)
|
||||
tm.assert_series_equal(ser, expected)
|
Reference in New Issue
Block a user