Back to marketplace

Intro To Python

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What are Strings?

Back (Answer)

Strings are primitive data type of the python language. You can think of a data type as a building block of a language. The content inside the print function is a string.(“word here”)

#2
Front (Question)

What are Booleans?

Back (Answer)

Boolean assess the truth of something. Boolean values are either true are false. Example: 5>7 is 5 greater than 7? = false, 7<5 is 5 smaller than 7? = true

#3
Front (Question)

Conditional Logic

Back (Answer)

Comparison operator, Meaning < Less than <= Less than or equal to > greater than >= greater than or equal to == equal != not equal

#4
Front (Question)

What is numpy?

Back (Answer)

¹

#5
Front (Question)

True or Flase statement? Num = 3 Is number > 10 Print(num)

Back (Answer)

True

#6
Front (Question)

Logical Operators?

Back (Answer)

And, or, not Can be used in conjunction with conditional logic ex: Num = 4 print(num > 0 and num < 15) Output: true

#7
Front (Question)

The 3 main file types and the functions to load them?

Back (Answer)

.csv files - pd.read_csv(‘filepath’) .xlsx files - pd.read_excel(‘filepath’) ‘Filepath’ can be remote URL if it points to .csv or.xlsx file

#8
Front (Question)

What is df.info()

Back (Answer)

To get lots of info in, including data type, index, and column names

#9
Front (Question)

What is df.dtypes

Back (Answer)

To get just the data type for just all column

#10
Front (Question)

What us df.[‘name’].dtypes

Back (Answer)

To get the data type for just one column

#11
Front (Question)

What is df.head()

Back (Answer)

This will give you the top 5 rows

#12
Front (Question)

What us df.head(8)

Back (Answer)

To see a different number of rows such as the first 8 rows

#13
Front (Question)

What is df.tail()

Back (Answer)

To see the bottom 5 rows

#14
Front (Question)

What is df.tail(11)

Back (Answer)

To see a different number of rows such as the last 11 rows

#15
Front (Question)

What is df.sample(5)

Back (Answer)

To see 5 random rows

#16
Front (Question)

What are functions?

Back (Answer)

The syntax

#17
Front (Question)

How is list used?

Back (Answer)

z = [3, 7, 4, 2] index 0 1 2 3 Neg index -4 -3 -2 -1

#18
Front (Question)

What does Slicing Dataframes mean?

Back (Answer)

Selecting specific colums

#19
Front (Question)

what is df.[‘name’]

Back (Answer)

To select 1 column as a pandas series

#20
Front (Question)

What is df[[‘name’]]

Back (Answer)

To select 1 column as a pandas dataframe

#21
Front (Question)

What is df[[‘name’, ‘manufacturer’]]

Back (Answer)

To select multiple columns as a dataframe

#22
Front (Question)

What is df.info()

Back (Answer)

To get lots of info including data type, index, and column names

#23
Front (Question)

What is df.shape

Back (Answer)

To get the shape(rows, columns)

#24
Front (Question)

What is Len(df)

Back (Answer)

To get the number of rows