logo

Crowdly

Programing with Python / Programmation avec Python (202400-META-IDSI1121-BBA1)

Шукаєте відповіді та рішення тестів для Programing with Python / Programmation avec Python (202400-META-IDSI1121-BBA1)? Перегляньте нашу велику колекцію перевірених відповідей для Programing with Python / Programmation avec Python (202400-META-IDSI1121-BBA1) в moodle.essec.fr.

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

What’s the output of the following Python program?

l1 = np.array([10, 20, 30, 40, 50])

print(np.logical_and(l1>20, l1<40))

0%
0%
100%
0%
Переглянути це питання
What’s the output of the following Python program?

l1 = [10, 20, 30, 40, 50]

l2 = [20, 30, 50, 40, 70]

np.array(l1) < np.array(l2)

0%
0%
100%
0%
Переглянути це питання
I have a pandas dataframe named 'brics' with columns names given by 'country', 'capital', 'area' and 'population' and indices given by 'FR', 'IT' and 'UK'. I want to construct a pandas dataframe with the only two columns 'country' and 'capital' and only for the indices 'FR' and 'IT'. Which command should I use?
100%
0%
0%
0%
Переглянути це питання
I have a pandas dataframe named 'brics' with columns names given by 'country', 'capital', 'area' and 'population'. I want to construct a pandas dataframe with the only two columns 'country' and 'capital'. Which command should I use?
0%
100%
0%
Переглянути це питання
What’s the output of the following Python program?

capitals = {'Spain': 'Madrid', 'France': 'Paris'}

capitals['Spain']

0%
100%
0%
0%
Переглянути це питання
I have a dataset in the form of a csv file. Which package should we use to work with these data in python?
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 are the keys of the following dictionary?

capitals = {'Spain': 'Madrid', 'France': 'Paris'}

0%
0%
100%
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%
100%
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%
100%
0%
0%
Переглянути це питання

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

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