Detail: ClinicResult: Display

Overview: ClinicResult: Display

ClinicResult.__repr__()[source]

Return repr(self).

>>> f = sf.Frame.from_fields(((10, 2, 8, 3), (False, True, True, False), ('1517-01-01', '1517-04-01', '1517-12-31', '1517-06-30')), columns=('a', 'b', 'c'), dtypes=dict(c=np.datetime64), name='x')
>>> f
<Frame: x>
<Index>    a       b      c               <<U1>
<Index>
0          10      False  1517-01-01
1          2       True   1517-04-01
2          8       True   1517-12-31
3          3       False  1517-06-30
<int64>    <int64> <bool> <datetime64[D]>
>>> tc = sf.TypeClinic((f, True))
>>> cr = tc(tuple[str, int])
>>> cr
<ClinicResult: 2 errors>
ClinicResult.__str__()

Return str(self).

>>> f = sf.Frame.from_fields(((10, 2, 8, 3), (False, True, True, False), ('1517-01-01', '1517-04-01', '1517-12-31', '1517-06-30')), columns=('a', 'b', 'c'), dtypes=dict(c=np.datetime64), name='x')
>>> f
<Frame: x>
<Index>    a       b      c               <<U1>
<Index>
0          10      False  1517-01-01
1          2       True   1517-04-01
2          8       True   1517-12-31
3          3       False  1517-06-30
<int64>    <int64> <bool> <datetime64[D]>
>>> tc = sf.TypeClinic((f, True))
>>> cr = tc(tuple[str, int])
>>> cr
<ClinicResult: 2 errors>

ClinicResult: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display