Skip to content

Commit

Permalink
use correct emoji and normalize whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-joshi committed Jun 13, 2024
1 parent aff2147 commit c4a6c08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ def translate():
--------
>>> ser = pd.Series(["El niño", "Françoise"])
>>> mytable = str.maketrans({'ñ': 'n', 'ç': 'c'})
>>> ser.str.translate(mytable)
>>> ser.str.translate(mytable) # doctest: +NORMALIZE_WHITESPACE
0 El nino
1 Francoise
dtype: object
Expand Down
2 changes: 1 addition & 1 deletion tests/integ/modin/strings/test_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def test_get_with_dict_label(key, expected_result):
# - "head shaking vertically" = 1F642 + 200D + 2195 + FE0F
# - "mending heart" = 2764 + FE0F + 200D + 1FA79
# - "health worker" = 1F91D1 + 200D + 2605 + FE0F
["😶‍🌫️", "❤️‍🔥", "🧑‍⚖️"],
["🙂‍↔️", "❤️‍🔥", "🧑‍⚖️"],
{
0x2194: 0x2195,
0x1F525: 0x1FA79,
Expand Down

0 comments on commit c4a6c08

Please sign in to comment.