First I read a csv and then get a partial dataframe from it (row 12~14), and then save it to another csv.
However it has warning afterwards saying 'A value is trying to be set on a copy of a slice from a DataFrame'
How should I get a partial dataframe and save it to another csv correctly?
df = pd.read_csv(filename)
df_min_part = df.iloc[12:14, : ]
df_min_part.to_csv(filename + '_min_part.csv')