Data Types in Python
Built-in Data Types
There are some categories of data types in Python:
- Text type:
str
; - Numeric Types:
int
,float
,complex
; - Sequence Types:
list
,tuple
,range
; - Mapping Type:
dict
; - Set Types:
set
,frozenset
; - Boolean Type:
bool
; - Binary Types:
bytes
,bytearray
,memoryview
; - None Type:
NoneType
.
In this course, we will consider only a part of them, the most needed for analyzing and visualizing data.
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 1
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Ställ mig frågor om detta ämne
Sammanfatta detta kapitel
Visa verkliga exempel
Awesome!
Completion rate improved to 2.7
Data Types in Python
Svep för att visa menyn
Built-in Data Types
There are some categories of data types in Python:
- Text type:
str
; - Numeric Types:
int
,float
,complex
; - Sequence Types:
list
,tuple
,range
; - Mapping Type:
dict
; - Set Types:
set
,frozenset
; - Boolean Type:
bool
; - Binary Types:
bytes
,bytearray
,memoryview
; - None Type:
NoneType
.
In this course, we will consider only a part of them, the most needed for analyzing and visualizing data.
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 1