Playback starts YouTube’s embedded player (privacy-enhanced mode).
Python Tutorial: Exoplanet and Star Data Analysis
ChannelAnton PetrovDescription from the creator
Find the code files here: github.com/whatdamath/spaceengine
Hello and welcome to What Da Math!
In this video, we will talk about analysis exoplanet data with Python
Links:
exoplanetarchive.ipac.caltech.edu/
exoplanets.nasa.gov
seaborn.pydata.org/examples/horizontal_boxplot.…
Code:
%matplotlib inline
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd
planets = pd.read_csv("planets.csv", sep=',')
sns.set(style="ticks")
# Initialize the figure with a logarithmic x axis
f, ax = plt.subplots(figsize=(7, 6))
ax.set_xscale("log")
# Load the example planets dataset
#planets = sns.load_dataset("planets")
# replace pl_pnum and st_mass with other column names
sns.boxplot(x="pl_pnum", y="st_mass", data=planets)
# Add in points to show each observation
sns.swarmplot(x="pl_pnum", y="st_mass", data=planets,
size=2, color=".3", linewidth=0)
# Tweak the visual presentation
ax.xaxis.grid(True)
ax.set(ylabel="")
sns.despine(trim=True, left=True)
Support this channel on Patreon to help me make this a full time job:
patreon.com/whatdamath
Space Engine is available for free here: spaceengine.org
Enjoy and please subscribe.
Twitter: twitter.com/WhatDaMath
Facebook: facebook.com/whatdamath
Twitch: twitch.tv/whatdamath
Bitcoins to spare? Donate them here to help this channel grow!
1GFiTKxWyEjAjZv4vsNtWTUmL53HgXBuvu
Hello and welcome to What Da Math!
In this video, we will talk about analysis exoplanet data with Python
Links:
exoplanetarchive.ipac.caltech.edu/
exoplanets.nasa.gov
seaborn.pydata.org/examples/horizontal_boxplot.…
Code:
%matplotlib inline
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd
planets = pd.read_csv("planets.csv", sep=',')
sns.set(style="ticks")
# Initialize the figure with a logarithmic x axis
f, ax = plt.subplots(figsize=(7, 6))
ax.set_xscale("log")
# Load the example planets dataset
#planets = sns.load_dataset("planets")
# replace pl_pnum and st_mass with other column names
sns.boxplot(x="pl_pnum", y="st_mass", data=planets)
# Add in points to show each observation
sns.swarmplot(x="pl_pnum", y="st_mass", data=planets,
size=2, color=".3", linewidth=0)
# Tweak the visual presentation
ax.xaxis.grid(True)
ax.set(ylabel="")
sns.despine(trim=True, left=True)
Support this channel on Patreon to help me make this a full time job:
patreon.com/whatdamath
Space Engine is available for free here: spaceengine.org
Enjoy and please subscribe.
Twitter: twitter.com/WhatDaMath
Facebook: facebook.com/whatdamath
Twitch: twitch.tv/whatdamath
Bitcoins to spare? Donate them here to help this channel grow!
1GFiTKxWyEjAjZv4vsNtWTUmL53HgXBuvu
About this tutorial
Anton Petrov published this 15:00 video tutorial on November 13, 2018. It has been watched 21,010 times on YouTube.
- Channel
- Anton Petrov
- Category
- Gaming
- Duration
- 15:00
- Published
- November 13, 2018
- Views
- 21,010
- Likes
- 821
Tags
Share
This tutorial in other languages
- FRPython Tutorial: Exoplanet et Star analyse des données
- ESGuía de aprendizaje: Exoplanetas y Análisis de Datos de la estrella
- PTPython Tutorial: Exoplanet e Análise de Dados Estrela
- ITPython Tutorial: Esopianeta e Analisi dei Dati Stella
- DEPython Tutorial: Exoplanet und Star Datenanalyse
- NLPython Tutorial: Exoplanet en Star Data Analysis
- RUУчебник Python: Exoplanet и Star Анализ данных
- PLPython Tutorial: Exoplanet i Star Analiza danych
- JAPythonのチュートリアル:太陽系外惑星とスターデータ分析
- ARبيثون البرنامج التعليمي: كوكب خارج المجموعة الشمسية وتحليل البيانات ستار
- HIअजगर ट्यूटोरियल: Exoplanet और स्टार डेटा विश्लेषण
- IDPython Tutorial: Exoplanet dan Analisis Data Bintang