Skip to content

Instantly share code, notes, and snippets.

@Kiwibp
Created June 11, 2018 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Kiwibp/a064f31e9a4aa776718a84832606e01f to your computer and use it in GitHub Desktop.
Save Kiwibp/a064f31e9a4aa776718a84832606e01f to your computer and use it in GitHub Desktop.
Craiglist Webscraping Project
# vehicles are skewing boxplot too much; all rows at or above 1.8k appear to be motor vehicles.
motor_vehicles = postings.loc[postings.price >= 1800.0, :]
motor_vehicles.plot.bar('name', 'price', figsize=(9,9))
plt.ylabel("Price")
plt.xlabel("Vehicle")
plt.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment