Consider some data on berries.
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
| (1) |
You can get the data types for the columns with the Datatypes command.
| (2) |
You can change the datatype of the Energy column to float:
>
|
|
| (3) |
This does not change the datatype in place. To permanently change the datatype:
>
|
|
| (4) |
When working with strings or name conversions, it may be necessary to supply an explicit conversion for values in the column of the data frame:
>
|
|
| (6) |
>
|
|
| (7) |
| (8) |