DataHerb
Flora Add Data Articles
Ecosystem
Python Package
Community
Telegram
About

DataHerb:

Planets in the Solar System

• [ #Astronomy ]

DataHerb Metadata

  • DataHerb ID: planets_in_solar_system
  • DataHerb Name: Planets in the Solar System
  • Contributors: Interplanetary Immigration Center
  • Description: List of the 8 planets in the solar system and their properties
  • GitHub Repository: InterImm/dataset-planets-in-solar-system
  • Licenses:
    1. Creative Commons Attribution-ShareAlike License, attribute to Wikipedia using references

DataHerb Leaves: Files in Dataset

  • Metadata
  • Usage
  • Name: planets in the solar system in csv format
  • File:
  • Format: csv
  • Size: 714B

Fields

  1. name: name of the planet
  2. equatorial_diameter: equatorial diameter measured relative to Earth
  3. mass: mass of the planet measured relative to Earth
  4. semi_major_axis: semi-major axis in unit of AU
  5. orbital_period: orbital period in unit of years
  6. inclination_to_suns_equator: inclination to sun equator in unit of degrees
  7. orbital_eccentricity: orbital eccentricity
  8. rotation_period: rotation period in unit of days
  9. confirmed_moons: confirmed moons
  10. axial_tilt: axial tilt in unit of degrees
  11. rings: does the planet have rings
  12. atmosphere: composition of atmosphere

Preview

Import Data

Copy the following code and paste into a Google Spreadsheet cell.
=IMPORTDATA("https://raw.githubusercontent.com/InterImm/dataset-planets-in-solar-system/master/dataset/planets_in_solar_system.csv")
Load data into a Pandas DataFrame:
import pandas as pd
url = "https://raw.githubusercontent.com/InterImm/dataset-planets-in-solar-system/master/dataset/planets_in_solar_system.csv"
df = pd.read_csv(url)
  • Name: planets in the solar system in json format
  • File:
  • Format: json
  • Size: 2.7K

Fields

  1. name: name of the planet
  2. equatorial_diameter: equatorial diameter measured relative to Earth
  3. mass: mass of the planet measured relative to Earth
  4. semi_major_axis: semi-major axis in unit of AU
  5. orbital_period: orbital period in unit of years
  6. inclination_to_suns_equator: inclination to sun equator in unit of degrees
  7. orbital_eccentricity: orbital eccentricity
  8. rotation_period: rotation period in unit of days
  9. confirmed_moons: confirmed moons
  10. axial_tilt: axial tilt in unit of degrees
  11. rings: does the planet have rings
  12. atmosphere: composition of atmosphere

Import Data

Load data into a Pandas DataFrame:
import pandas as pd
url = "https://raw.githubusercontent.com/InterImm/dataset-planets-in-solar-system/master/dataset/planets_in_solar_system.json"
df = pd.read_json(url)

References:

  • Planet from Wikipedia
explorer@dataherb: ~
The DataHerb Terminal — Type help.
➜ ~

The DataHerb Index by DataHerb.