We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea854e8 commit 375f630Copy full SHA for 375f630
docs/philosophy.md
@@ -29,8 +29,8 @@ lt = s < 3
29
30
In the pandas source, `lt` is a `Series` with a `dtype` of `bool`. In the pandas-stubs,
31
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.
+pandas methods. Note that in the above example, `s` is just typed as `Series` (which
+defaults to `Series[Any]`) because its type cannot be statically inferred.
34
35
This also allows type checking for operations on series that contain date/time data. Consider
36
the following example that creates two series of datetimes with corresponding arithmetic.
0 commit comments