File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1918,7 +1918,7 @@ def keys(self) -> Index:
19181918 b 2 4
19191919 c 3 8
19201920 >>> d.keys()
1921- Index(['A', 'B'], dtype='object ')
1921+ Index(['A', 'B'], dtype='str ')
19221922 """
19231923 return self ._info_axis
19241924
@@ -6276,7 +6276,7 @@ def dtypes(self):
62766276 float float64
62776277 int int64
62786278 datetime datetime64[s]
6279- string object
6279+ string str
62806280 dtype: object
62816281 """
62826282 data = self ._mgr .get_dtypes ()
@@ -6838,7 +6838,7 @@ def convert_dtypes(
68386838 0 a
68396839 1 b
68406840 2 NaN
6841- dtype: object
6841+ dtype: str
68426842
68436843 Obtain a Series with dtype ``StringDtype``.
68446844
@@ -8138,7 +8138,7 @@ def isna(self) -> Self:
81388138 ... )
81398139 >>> df
81408140 age born name toy
8141- 0 5.0 NaT Alfred None
8141+ 0 5.0 NaT Alfred NaN
81428142 1 6.0 1939-05-27 Batman Batmobile
81438143 2 NaN 1940-04-25 Joker
81448144
@@ -8211,7 +8211,7 @@ def notna(self) -> Self:
82118211 ... )
82128212 >>> df
82138213 age born name toy
8214- 0 5.0 NaT Alfred None
8214+ 0 5.0 NaT Alfred NaN
82158215 1 6.0 1939-05-27 Batman Batmobile
82168216 2 NaN 1940-04-25 Joker
82178217
@@ -10401,7 +10401,7 @@ def truncate(
1040110401 2 b
1040210402 3 c
1040310403 4 d
10404- Name: A, dtype: object
10404+ Name: A, dtype: str
1040510405
1040610406 The index values in ``truncate`` can be datetimes or string
1040710407 dates.
You can’t perform that action at this time.
0 commit comments