Skip to content

Commit 15996ff

Browse files
committed
fix(comment): #1274 (comment)
1 parent 2f661ae commit 15996ff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/philosophy.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ reveal_type(s2)
4646
td = s1 - s2
4747
reveal_type(td)
4848
ssum = s1 + s2
49-
reveal_type(ssum)
5049
```
5150

5251
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
5857
ttest.py:7: note: Revealed type is "pandas.core.series.Series[pandas._libs.tslibs.timestamps.Timestamp]"
5958
ttest.py:9: note: Revealed type is "pandas.core.series.TimedeltaSeries"
6059
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]"
6260
```
6361

6462
The type `Series[Timestamp]` is the result of creating a series from `pd.to_datetime()`, while

0 commit comments

Comments
 (0)