Skip to content

Commit

Permalink
docs: Fix a typo in categorical section of the user guide (pola-rs#15777
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Robinsane authored Apr 19, 2024
1 parent 711389d commit aa3aae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user-guide/concepts/data-types/categoricals.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Categorical data represents string data where the values in the column have a fi
That is why Polars supports encoding string values in dictionary format. Working with categorical data in Polars can be done with two different DataTypes: `Enum`,`Categorical`. Both have their own use cases which we will explain further on this page.
First we will look at what a categorical is in Polars.

In Polars a categorical is a defined as a string column which is encoded by a dictionary. A string column would be split into two elements: encodings and the actual string values.
In Polars a categorical is defined as a string column which is encoded by a dictionary. A string column would be split into two elements: encodings and the actual string values.

<table>
<tr><th>String Column </th><th>Categorical Column</th></tr>
Expand Down

0 comments on commit aa3aae2

Please sign in to comment.