Created
April 29, 2015 18:05
-
-
Save Hoedic/6815369b17cc661df243 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import pandas as pd | |
pd.options.display.mpl_style = 'default' | |
metadata_gov = pd.Series([3.1, 3.6, 3.8, 3.9, 4.1, 4.4, 4.5, 4.5, 4.5, 4.6, 4.8, 4.9, 5], index=["File size", "Spatial\ncoverage", "Keywords", "License", "Contact\ninformation", "Update\nfrequency", "URL", "Temporal\ncoverage", "Publisher", "Description", "Title", "Last update", "Data format"]) | |
metadata_gov.plot(kind="barh") | |
consumer_metadata = pd.Series([3.22, 3.44, 3.56, 3.67, 3.89, 3.89, 4, 4.22, 4.56, 4.56, 4.56, 4.67, 4.78], index=["File size", "Contact\ninformation", "Temporal\ncoverage", "Update\nfrequency", "Keywords", "Spatial\ncoverage", "Publisher", "License", "Title", "Data format", "Description", "Last update", "URL"]) | |
consumer_metadata.plot(kind="barh") | |
wrapup_gov = pd.Series([4, 4.11, 4.2, 4.22, 4.3, 4.4, 4.44, 4.6, 4.78], index=["Data delivery", "Domain specific\nStandards", "License and dedication", "Dataset organization", "URL structure", "Metadata", "General purpose\nStandards", "Data formats", "Character encoding"]) | |
wrapup_gov.plot(kind="barh") | |
wrapup_cons = pd.Series([3.75, 3.87, 4, 4.12, 4.12, 4.29, 4.37, 4.5, 4.62], index=["General purpose\nStandards", "License and\ndedication", "Domain specific\nStandards", "URL structure", "Dataset\norganization", "Metadata", "Character\nencoding", "Data delivery", "Data formats"]) | |
wrapup_cons.plot(kind="barh") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment