This file contains hidden or 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
| #------------------------------------------------------------------------------- | |
| # Name: UploadPublishCSVMultipart | |
| # Purpose: This script uploads and publishes a CSV that includes XY data, not | |
| # addresses. This uses a multipart upload for the CSV and requires | |
| # username, password, CSVfile, X and Y fields, and tags to be defined | |
| # Author: Melanie Summers | |
| import requests | |
| import os |
This file contains hidden or 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
| #include <FastLED.h> | |
| #define DATA_PIN 6 //this is the data pin connected to the LED strip. If using WS2801 you also need a clock pin | |
| #define NUM_LEDS 100 //change this for the number of LEDs in the strip. i changed it from 100 to 50 | |
| #define COLOR_ORDER RGB | |
| CRGB leds[NUM_LEDS]; | |
| //I have a few additional integers in here from different tests. | |
| int y = 1; | |
| int z = 0; |
This file contains hidden or 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
| ```{r} | |
| svg(filename="LAStreets_slope.svg", | |
| width=15, | |
| height=20, | |
| pointsize=12) | |
| plot(streets["slope"]) | |
| dev.off() | |
| ``` |
This file contains hidden or 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
| # Load libraries | |
| import re | |
| import time | |
| import operator | |
| import numpy as np | |
| from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer | |
| from scipy.sparse import csr_matrix | |
| import pandas as pd |
This file contains hidden or 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
| # Application of StringMatch class, using default args | |
| titlematch = StringMatch(source_titles, target_titles) | |
| titlematch.tokenize() | |
| match_df = titlematch.match() |
OlderNewer