type
Show the type of the columns of the dataset and/or change the type of the column
Usageโ
type [-n {}] [--format {int,float,str,bool,category,date}]
Parametersโ
Name | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|
name | -n --name | Provide dataset.column series to change type or dataset to see types. | None | True | None |
format | --format | Set the format for the dataset.column defined. This can be: date, int, float, str, bool or category | None | True | int, float, str, bool, category, date |
Examplesโ
txt
2022 Feb 28, 15:53 (๐ฆ) /econometrics/ $ load wage_panel -a wp
2022 Feb 28, 15:53 (๐ฆ) /econometrics/ $ type
wp
โโโโโโโโโโโโโโณโโโโโโโโโโ
โ column โ dtype โ
โกโโโโโโโโโโโโโโโโโโโโโโโฉ
โ nr โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ year โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ black โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ exper โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ hisp โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ hours โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ married โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ educ โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ union โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ lwage โ float64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ expersq โ int64 โ
โโโโโโโโโโโโโโผโโโโโโโโโโค
โ occupation โ int64 โ
โโโโโโโโโโโโโโดโโโโโโโโโโ