Skip to content

Commit fbe606e

Browse files
committed
add python version flexibility for to_dict
1 parent 534471e commit fbe606e

File tree

1 file changed

+2
-2
lines changed
  • third_party/bigframes_vendored/pandas/core

1 file changed

+2
-2
lines changed

third_party/bigframes_vendored/pandas/core/series.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,8 @@ def to_dict(
549549
>>> s.to_dict()
550550
{np.int64(0): 1, np.int64(1): 2, np.int64(2): 3, np.int64(3): 4}
551551
552-
>>> s.to_dict(into=OrderedDict)
553-
OrderedDict([(np.int64(0), 1), (np.int64(1), 2), (np.int64(2), 3), (np.int64(3), 4)])
552+
>>> s.to_dict(into=OrderedDict) # doctest:+ELLIPSIS
553+
OrderedDict(...)
554554
555555
>>> dd = defaultdict(list)
556556
>>> s.to_dict(into=dd)

0 commit comments

Comments
 (0)