import numpy as np
import pandas as pd
df_maize = pd.read_csv("PSD online data maize.csv")
print(df_maize["Name"])
print(df_maize["Production"])
print(df_maize["Exports"])
#プリントした結果を見ると4桁以下のデータがint64で5桁以上のデータがobjectになっています#
0 2013
1 2014
2 2015
3 2016
4 2017
5 2018
6 2019
7 2020
8 2021
9 2022
Name: Name, dtype: int64
0 248,453
1 249,764
2 264,992
3 263,613
4 259,071
5 257,174
6 260,779
7 260,670
8 272,552
9 277,200
Name: Production, dtype: object
0 22
1 13
2 4
3 61
4 19
5 19
6 12
7 4
8 3
9 20
Name: Exports, dtype: int64