I hereby claim:
- I am osteth on github.
- I am osteth (https://keybase.io/osteth) on keybase.
- I have a public key ASCfcX6plRcjTToA97kdR_-y7_xFtdJbBMNU3BBF4RnCkgo
To claim this, I am signing this object:
| import csv | |
| import json | |
| import click | |
| @click.group() | |
| def cli(*args, **kwargs): | |
| """Command line utility to easily convert .csv data over to .json data. This utility was built for the NASA space apps challenge and is defaulted | |
| to be used with cron to pull in data from https://earthdata.nasa.gov/earth-observation-data/near-real-time/firms/active-fire-data convert it to json |
| #!/usr/bin/python3 | |
| import json | |
| def LLR(): | |
| table = [] | |
| llr_table = [] | |
| with open('MODIS_C6_Global_24h.json', 'r') as data_file: |
I hereby claim:
To claim this, I am signing this object:
| # List unique values in a DataFrame column | |
| # h/t @makmanalp for the updated syntax! | |
| df['Column Name'].unique() | |
| # Convert Series datatype to numeric (will error if column has non-numeric values) | |
| # h/t @makmanalp | |
| pd.to_numeric(df['Column Name']) | |
| # Convert Series datatype to numeric, changing non-numeric values to NaN | |
| # h/t @makmanalp for the updated syntax! |
| # coding: utf-8 | |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| __title__ = "Tmobile hotsport bulk order script." | |
| __summary__ = "A selenium script that will order Free Tmobile promo wifi hot spots in bulk. Just set the variables with your own order info and run it. Requires Chromedriver. Suggest Anaconda." | |
| __uri__ = "https://sethwahle.com" | |
| __author__ = "Seth Wahle" | |
| __copyright__ = "Copyright 2019, Seth Wahle" |
| import random | |
| contests = ['3D printing', 'Abseiling', 'Acting', 'Action figure', 'Adventure racing', | |
| 'Aerobatics', 'Aeromodeling', 'Aggressive inline skating', 'Aid climbing', | |
| 'Aikido', 'Air hockey', 'Air racing', 'Air sports', 'Airbrushing', 'Aircraft Spotting', | |
| 'Airsoft', 'Airsofting', 'Aizkolaritza', 'Alpine skiing', 'Amateur Astronomy', 'Amateur Radio', | |
| 'Amateur astronomy', 'Amateur geology', 'Amateur pankration', 'Amateur radio', 'Amateur wrestling', | |
| 'American flag rugby', 'American football', 'American handball', 'American snooker', 'Ancient games', | |
| 'Angling', 'Animal fancy', 'Animals/pets/dogs', 'Antiquing', 'Antiquities', 'Aqua-lung', | |
| 'Aquarium', 'Aquathlon', 'Archery', 'Arena football', 'Arimaa', 'Arm wrestling', 'Art collecting', | |
| 'Artistic billiards', 'Artistic cycling', 'Artistic gymnastics', 'Artistic pool', |
| import random | |
| s_nouns = ["A dude", "My mom", "The king", "Some guy", "A cat with rabies", "A sloth", "Your homie", "This cool guy my gardener met yesterday", "Superman"] | |
| p_nouns = ["These dudes", "Both of my moms", "All the kings of the world", "Some guys", "All of a cattery's cats", "The multitude of sloths living under your bed", "Your homies", "Like, these, like, all these people", "Supermen"] | |
| s_verbs = ["eats", "kicks", "gives", "treats", "meets with", "creates", "hacks", "configures", "spies on", "retards", "meows on", "flees from", "tries to automate", "explodes"] | |
| p_verbs = ["eat", "kick", "give", "treat", "meet with", "create", "hack", "configure", "spy on", "retard", "meow on", "flee from", "try to automate", "explode"] | |
| infinitives = ["to make a pie.", "for no apparent reason.", "because the sky is green.", "for a disease.", "to be able to make toast explode.", "to know more about archeology."] | |
| def sing_sen_maker(): | |
| '''Makes a random senctence from the different parts of speech. Uses a SINGULAR |