Untitled
unknown
plain_text
4 years ago
299 B
8
Indexable
import pandas
data = pandas.read_csv('crops_usa.csv')
acres = list(data['Acres'])
years = list(data['Year'])
year = 1980
# ваш код здесь
acres_one_year = []
for index in range(len(acres)):
if index in years == year:
acres_one_year.append(acres[index])
print(acres_one_year)Editor is loading...