Skip to content

Commit cca3a7f

Browse files
use capitalized alias in the overview table
1 parent 8974c5b commit cca3a7f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

web/pandas/pdeps/0014-string-dtype.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -215,16 +215,16 @@ and NaN semantics.
215215
Overview of the different ways to specify a dtype and the resulting concrete
216216
dtype of the data:
217217

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) |
228228

229229
Notes:
230230

0 commit comments

Comments
 (0)