Skip to content

Instantly share code, notes, and snippets.

@gchavez2
Last active August 16, 2019 22:12
Show Gist options
  • Save gchavez2/7f49bfef9311f1b3d5056ef25869af89 to your computer and use it in GitHub Desktop.
Save gchavez2/7f49bfef9311f1b3d5056ef25869af89 to your computer and use it in GitHub Desktop.
histogram_of_list.py
# Histogram of words per document in the first page
import matplotlib.pyplot as plt
plt.style.use("ggplot")
plt.hist([s for s in words_per_doc], bins=10)
plt.xlabel('Documents')
plt.ylabel('Number of words')
plt.show()
@tamecalm
Copy link

tamecalm commented Aug 16, 2019

Creating heroku-postgresql:hobby-dev on ⬢ adsvim... ⣾
(node:22785) [DEP0066] DeprecationWarning:Creating heroku-postgresql:hobby-dev on ⬢ adsvim... free
Database has been created and is available
 ! This database is empty. If upgrading, you can transfer
 ! data from another database with pg:copy
Created postgresql-symmetrical-93636 as HEROKU_POSTGRESQL_PURPLE_URL
Use heroku addons:docs heroku-postgresql to view documentation]

I tried installing the prostgresql database see error..

Sent from my W2 using FastHub

@tamecalm
Copy link

Any help to offer?

I tried installing the prostgresql database see error..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment