Commit 239ae6d
committed
BUG: Series.map fails when mapping a dict with tuple keys
Explicitly use keys as index to prevent conversion to MultiIndex
Add test for mapping with tuple-keyed dict
Specify expected output for the test and use assert_series_equal
Add note to v0.14.1 release notes1 parent 4fed1e0 commit 239ae6d
File tree
3 files changed
+21
-1
lines changed- doc/source
- pandas
- core
- tests
3 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1940 | 1940 | | |
1941 | 1941 | | |
1942 | 1942 | | |
1943 | | - | |
| 1943 | + | |
1944 | 1944 | | |
1945 | 1945 | | |
1946 | 1946 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4860 | 4860 | | |
4861 | 4861 | | |
4862 | 4862 | | |
| 4863 | + | |
| 4864 | + | |
| 4865 | + | |
| 4866 | + | |
| 4867 | + | |
| 4868 | + | |
| 4869 | + | |
| 4870 | + | |
| 4871 | + | |
| 4872 | + | |
| 4873 | + | |
| 4874 | + | |
| 4875 | + | |
| 4876 | + | |
| 4877 | + | |
| 4878 | + | |
| 4879 | + | |
| 4880 | + | |
| 4881 | + | |
4863 | 4882 | | |
4864 | 4883 | | |
4865 | 4884 | | |
| |||
0 commit comments