Jun-15-2022, 08:51 PM
I am new to python and have decided to take a self-paced free course. i attempting to generate a scatter plot for "price" vs "area" in the state of "Rio Grande do Sul" in the dataframe shown in the attached photo. My code just returns a ton of errors, kindly assist.
Here's my code shown below:
Here's my code shown below:
plt.scatter(df_south.groupby("state" == "Rio Grande do Sul")["price_usd"], df_south.groupby("state" == "Rio Grande do Sul")["area_m2"])