File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ reveal_type(s2)
46
46
td = s1 - s2
47
47
reveal_type(td)
48
48
ssum = s1 + s2
49
- reveal_type(ssum)
50
49
```
51
50
52
51
The above code (without the ` reveal_type() ` statements) will get an error on the computation of ` ssum ` because it is
@@ -58,7 +57,6 @@ ttest.py:5: note: Revealed type is "pandas.core.series.Series[pandas._libs.tslib
58
57
ttest.py:7: note: Revealed type is "pandas.core.series.Series[pandas._libs.tslibs.timestamps.Timestamp]"
59
58
ttest.py:9: note: Revealed type is "pandas.core.series.TimedeltaSeries"
60
59
ttest.py:10: error: Unsupported operand types for + ("Series[Timestamp]" and "Series[Timestamp]") [operator]
61
- ttest.py:11: note: Revealed type is "pandas.core.series.Series[pandas._libs.tslibs.timestamps.Timestamp]"
62
60
```
63
61
64
62
The type ` Series[Timestamp] ` is the result of creating a series from ` pd.to_datetime() ` , while
You can’t perform that action at this time.
0 commit comments