Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 536 Bytes

type.md

File metadata and controls

13 lines (7 loc) · 536 Bytes

type()

Python

type() is a function that evaluates the data type of the object within the parenthesis. For a string "hello world", it will return: <str>; for an integer 5, it will return <int> and so on.

Text analysis

In our text analysis workshop, type means unique vocabulary items in a corpus. (Ex: "Whale" and "whale" are different types.)

Readings

  • Read more about type() as a Python command, and more things it can calculate.