Skip to content

Commit

Permalink
Use to_dict instead of Iterrows (ref #254)
Browse files Browse the repository at this point in the history
  • Loading branch information
laughingman7743 committed Feb 23, 2022
1 parent 3e7b33f commit 1eddcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyathena/pandas/result_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(
import pandas as pd

self._df = pd.DataFrame()
self._iterrows = self._df.iterrows()
self._iterrows = enumerate(self._df.to_dict("records"))

@property
def dtypes(self) -> Dict[Optional[Any], Type[Any]]:
Expand Down

0 comments on commit 1eddcaf

Please sign in to comment.