logo

Crowdly

Programmation en Python IDSI21024 (202400-668)

Шукаєте відповіді та рішення тестів для Programmation en Python IDSI21024 (202400-668)? Перегляньте нашу велику колекцію перевірених відповідей для Programmation en Python IDSI21024 (202400-668) в moodle.essec.fr.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

What is a correct Pandas method for returning the last rows?
0%
100%
0%
0%
Переглянути це питання
What's the output of the following Python program?

text = "Hi there!"

print(text)

0%
0%
100%
0%
Переглянути це питання
I want to store the population's size of 10 countries. Which data container should I use?
100%
0%
0%
0%
Переглянути це питання
What is the value of the following expression?

42 // 10 + 42 % 10

75%
0%
0%
25%
Переглянути це питання

What is the output of the following code?

x=0

chr="maison"

for car in chr:

if car in "aeiouy":

x+=2

else:

x+=1

print(x)

75%
0%
25%
Переглянути це питання
We have a pandas dataframe named cars with a column containing the brands of the cars. We want to add a new column to this dataframe that contains the capitalized names of the brand of the cars. Which method should we use?
0%
0%
50%
50%
Переглянути це питання
What’s the output of the following Python program?

x = 8

y = 9

not(not(x < 3) and not(y > 14 or y > 10))

0%
0%
33%
67%
Переглянути це питання
To get the first five rows of a pandas dataframe df we can use
0%
0%
100%
Переглянути це питання
I have a dataset in the form of a csv file 'data.csv'. Which command can I use to import my data into my python environement?
0%
0%
0%
0%
Переглянути це питання
I have a dataset in the form of a csv file 'data.csv'. I want to construct a pandas dataframe out of it. However, I want pandas to use the first column of my csv file to be the index of the dataframe. Which command should I use?
0%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.essec.fr?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!