I need a python language to extract two columns from a dataframe and then use seaborn to draw a line graph

import pandas as pd import seaborn as sns# read data df = pd.read_csv('data.csv')# extract the required two columns x_data = df['column1'] y_data = df['column2']# draw with seaborn Line graph sns.lineplot(x_data, y_data)

Guess you like

Origin blog.csdn.net/weixin_42588672/article/details/129457700