Shivanesh Sivakumar

Results 1 issues of Shivanesh Sivakumar

df_vaex['CARRIER_NAME'] = df_vaex.astype('category') df.plot1d(df['CARRIER_NAME'], shape=128, limits='99.7%') plt.title('Number of Flights by Carrier') plt.xlabel('Carrier Name') plt.ylabel('Number of Flights') plt.xticks(rotation=45, ha='right') plt.show() AttributeError: 'DataFrameLocal' object has no attribute 'astype'