Skip to content

Commit e069a60

Browse files
committed
added orient lower back
1 parent a2edef1 commit e069a60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/frame.py

+1
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,7 @@ def to_dict(self, orient="dict", into=dict):
13991399
)
14001400
# GH16122
14011401
into_c = com.standardize_mapping(into)
1402+
orient = orient.lower()
14021403
if orient == "dict":
14031404
return into_c((k, v.to_dict(into)) for k, v in self.items())
14041405

0 commit comments

Comments
 (0)