Skip to content

Commit 375f630

Browse files
committed
update philosophy
1 parent ea854e8 commit 375f630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/philosophy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ lt = s < 3
2929

3030
In the pandas source, `lt` is a `Series` with a `dtype` of `bool`. In the pandas-stubs,
3131
the type of `lt` is `Series[bool]`. This allows further type checking to occur in other
32-
pandas methods. Note that in the above example, `s` is typed as `Series` because
33-
its type cannot be statically inferred.
32+
pandas methods. Note that in the above example, `s` is just typed as `Series` (which
33+
defaults to `Series[Any]`) because its type cannot be statically inferred.
3434

3535
This also allows type checking for operations on series that contain date/time data. Consider
3636
the following example that creates two series of datetimes with corresponding arithmetic.

0 commit comments

Comments
 (0)