@@ -215,16 +215,16 @@ and NaN semantics.
215
215
Overview of the different ways to specify a dtype and the resulting concrete
216
216
dtype of the data:
217
217
218
- | User specification | Concrete dtype | String alias | Note |
219
- | ------------------------------------------| ---------------------------------------------------------------| ---------------------------------------| ----------|
220
- | Unspecified (inference) | ` StringDtype(storage="pyarrow"\|"python", na_value=np.nan) ` | "string" | (1) |
221
- | ` StringDtype() ` or ` "string" ` | ` StringDtype(storage="pyarrow" \| "python", na_value=np.nan) ` | "string" | (1), (2) |
222
- | ` StringDtype("pyarrow") ` | ` StringDtype(storage="pyarrow", na_value=np.nan) ` | "string" | (2) |
223
- | ` StringDtype("python") ` | ` StringDtype(storage="python", na_value=np.nan) ` | "string" | (2) |
224
- | ` StringDtype("pyarrow", na_value=pd.NA) ` | ` StringDtype(storage="pyarrow", na_value=pd.NA) ` | "string [ pyarrow] " | |
225
- | ` StringDtype("python", na_value=pd.NA) ` | ` StringDtype(storage="python", na_value=pd.NA) ` | "string [ python] " | |
226
- | ` StringDtype(na_value=pd.NA) ` | ` StringDtype(storage="pyarrow" \| "python", na_value=pd.NA) ` | "string [ pyarrow] " or "string [ python] " | (1) |
227
- | ` StringDtype("pyarrow_numpy") ` | ` StringDtype(storage="pyarrow", na_value=np.nan) ` | "string[ pyarrow_numpy] " | (3) |
218
+ | User specification | Concrete dtype | String alias | Note |
219
+ | --------------------------------------------- | ---------------------------------------------------------------| ---------------------------------------| ----------|
220
+ | Unspecified (inference) | ` StringDtype(storage="pyarrow"\|"python", na_value=np.nan) ` | "string" | (1) |
221
+ | ` StringDtype() ` or ` "string" ` | ` StringDtype(storage="pyarrow" \| "python", na_value=np.nan) ` | "string" | (1), (2) |
222
+ | ` StringDtype("pyarrow") ` | ` StringDtype(storage="pyarrow", na_value=np.nan) ` | "string" | (2) |
223
+ | ` StringDtype("python") ` | ` StringDtype(storage="python", na_value=np.nan) ` | "string" | (2) |
224
+ | ` StringDtype("pyarrow", na_value=pd.NA) ` | ` StringDtype(storage="pyarrow", na_value=pd.NA) ` | "String [ pyarrow] " | |
225
+ | ` StringDtype("python", na_value=pd.NA) ` | ` StringDtype(storage="python", na_value=pd.NA) ` | "String [ python] " | |
226
+ | ` StringDtype(na_value=pd.NA) ` or ` "String" ` | ` StringDtype(storage="pyarrow" \| "python", na_value=pd.NA) ` | "String [ pyarrow] " or "String [ python] " | (1) |
227
+ | ` StringDtype("pyarrow_numpy") ` | ` StringDtype(storage="pyarrow", na_value=np.nan) ` | "string[ pyarrow_numpy] " | (3) |
228
228
229
229
Notes:
230
230
0 commit comments