We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe68e48 commit 6d15f0cCopy full SHA for 6d15f0c
tests/test_frame.py
@@ -603,6 +603,9 @@ def test_types_iterrows() -> None:
603
Iterable,
604
tuple,
605
)
606
+ for t1, t2 in df.iterrows():
607
+ check(assert_type(t1, Hashable), Hashable)
608
+ check(assert_type(t2, pd.Series), pd.Series)
609
610
611
def test_types_itertuples() -> None:
@@ -625,6 +628,9 @@ def test_types_itertuples() -> None:
625
628
object,
626
629
627
630
631
+ for t1 in df.itertuples():
632
+ check(assert_type(t1, _PandasNamedTuple), _PandasNamedTuple)
633
+
634
635
def test_frame_iterator() -> None:
636
"""Test iterator methods for a dataframe GH1217."""
0 commit comments