this is my code: successadvdf = adv123df[adv123df['Clicked Ad'] == 'Yes']…
Jump to turn (10)
- 1this is my code: successadvdf = adv123df[adv123df['Clicked Ad'] == 'Yes'] print(
- 2write the code for the following task: Добавьте к датафрейму adv12df в конец дат
- 3For the merged adv123df dataframe, select only those rows where users clicked on
- 4it says: -----------------------------------------------------------------------
- 5corrrect thecode print('Total number of rows:', len(adv123df)) summary = adv123d
- 6no it is wrong, how it can be possible if Total number of rows are 861, and clic
- 7there is no 'Yes' or 'No' under the head 'Clicked on Add' , there is 0 or positi
- 8Для объединённого датафрейма adv123df выберите только те строки, в которых польз
- 9Загрузите таблицу с данными пользователей из файла users.csv и сохраните её в да
- 10wrong it says ------------------------------------------------------------------
- User
this is my code: success_adv_df = adv123_df[adv123_df['Clicked Ad'] == 'Yes'] print(success_adv_df.shape) but it gives this error: --------------------------------------------------------------------------- KeyError Traceback (most recent call last) File ~\anaconda3\lib\site-packages\pandas\core\indexes\base.py:3802, in Index.get_loc(self, key, method, tolerance) 3801 try: -> 3802 return self._engine.get_loc(casted_key) 3803 except KeyError as err:
File ~\anaconda3\lib\site-packages\pandas_libs\index.pyx:138, in pandas._libs.index.IndexEngine.get_loc()