ChatCrawlerпоиск по публичному Telegram Открыть приложение
3

30 Days Of Python

26 октября 2022
2022-10-26×
26 октября 2022
please explain what is the usage of this things? 4 % 3 = 1 4 // 3 = 1
B
The first one is a modulus (%) returning the remainder when 3 is divided by 4 The second one is a floor division (//) returning how many times 3 can be divided by 4
👾
I am trying to solve the exercise provided with each lesson, but how can I check is my soln. correct or which one is the best soln. for the question.
I
I am new for python while reading a CSV and targeting a specific cell import csv import pandas as pd df1 = pd.read_csv("data_file.csv") df2 = df1.iloc[-2:-1 , -2:-1] df2 i am getting header also as a output how to get only the value of the cell
B
id 750768290I am new for python while reading a CSV and targeting a specific cell import csv import pandas as pd df1 = pd.read_csv("data_file.csv") df2 = df1.iloc[-2:-1 , -2:-1] df2 i am getting header also as a output how to get only the value of the cell
The header will always show, but any operation you carry out will be directed to the values only. If you want only the values by force, you can convert it to a numpy array. Dataframes are like Excel sheets, it needs the header and index to work effectively
Календарь: октябрь 2022
Архив по месяцам
Открыть в Telegram Каталог площадок Искать в ChatCrawler

Слепок открытой публичной ленты из поискового индекса ChatCrawler — «Google по публичному Telegram»; обновляется по мере обхода площадки. Время — UTC.

Только публичный контент, официальный API Telegram. О проекте · Вопросы · Чего мы не делаем · Убрать страницу из выдачи · Каталог