Why am I getting an error when using 'squeeze' keyword in 'read_csv'?
21:04 13 Jul 2023
alcohol = pd.read_csv('https://andybek.com/pandas-drinks', usecols=['country','wine_servings'], index_col='country', squeeze=True)

When using the keyword squeeze to convert a one columned dataframe to series, I'm getting an error TypeError: read_csv() got an unexpected keyword argument 'squeeze'.

pandas series