(self)
| 228 | repr(float_frame) |
| 229 | |
| 230 | def test_repr_unicode(self): |
| 231 | uval = "\u03c3\u03c3\u03c3\u03c3" |
| 232 | |
| 233 | df = DataFrame({"A": [uval, uval]}) |
| 234 | |
| 235 | result = repr(df) |
| 236 | ex_top = " A" |
| 237 | assert result.split("\n")[0].rstrip() == ex_top |
| 238 | |
| 239 | df = DataFrame({"A": [uval, uval]}) |
| 240 | result = repr(df) |
| 241 | assert result.split("\n")[0].rstrip() == ex_top |
| 242 | |
| 243 | def test_unicode_string_with_unicode(self): |
| 244 | df = DataFrame({"A": ["\u05d0"]}) |