Giter VIP home page Giter VIP logo

examples's People

Contributors

alexpeters1208 avatar chipkent avatar devinrsmith avatar elijahpetty avatar emaxerrno avatar hythloda avatar jakemulf avatar jjbrosnan avatar margaretkennedy avatar mikeblas avatar mofojed avatar rachelmbrubaker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

examples's Issues

Inkhouse request: crossing streams of data

"a few code snippets that demonstrate crossing streams of data? Preferably, crossing (or intermingling) batch data with a real-time streams. We have this promotional idea to equate “crossing data streams” with crossing the streams from the Ghostbusters’ proton packs, since Halloween is right around the corner"

GSOD sample data ObservationDate field is parsed as integer

Users loading the GSOD sample data will see the ObservationDate field parsed as an inteegr. It should be a date.

Repro

  1. Setup DH and run it with example data; you could do this, if you don't have it already:
mkdir fooey
cd fooey
curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/docker-compose.yml -O
docker-compose pull
docker-compose up
  1. Connect to DH in your browser to get an IDE

  2. Load the Tokyo observation data:

from deephaven.TableTools import readCsv

tokyo = readCsv("/data/examples/gsod/csv/tokyo.csv")
  1. The ObservationDate column is an integer; not a date. The first two rows are 19,460,911 and 19,460,912. These are really September 11, 1946 and September 12, 1946.

The file is shaped like this:

USAF,WBAN,ObservationDate,TemperatureF,DewPointF,SeaLevelPressureMB,StationPressureMB,VisibilityFeet,MeanWindSpeedMPH,MaxWindSpeedMPH,MaxGustSpeedMPH,MaxTemperatureF,MinTemperatureF,PrecipitationInches
476710,99999,19460911,71.0,65.0,,,7.5,2.8,7.0,,74.3,68.4,0.0
476710,99999,19460912,73.9,61.5,,,11.2,6.8,13.0,,82.4,67.3,0.0
476710,99999,19460913,75.0,63.6,,,11.3,6.4,13.0,,80.2,71.2,0.0
476710,99999,19460914,73.4,66.4,,,10.5,6.6,16.9,,80.2,68.4,99.99
476710,99999,19460915,77.9,70.5,,,12.2,2.8,7.0,,84.4,73.4,0.0
476710,99999,19460916,72.6,63.4,,,11.6,4.0,13.0,,80.2,66.4,0.0
476710,99999,19460917,75.7,65.3,,,9.6,5.9,22.0,,81.3,69.3,99.99
476710,99999,19460918,72.8,70.0,,,6.0,5.2,14.0,,76.3,70.3,99.99

Expected

We should be able to load the sample data easily.

Or, maybe not: maybe on purpose we want to demonstrate how a common date format needs to be carefully manipulated and formatted at input as an exercise the learn-up the reader.

Rename pipe-delimited Deniro file

CSV import tutorial uses this file, which is being renamed to "deniro.psv" from "deniro_pipe.csv". The file just needs to be renamed.

Add README.md

Add a readme that shows how to use the example repo.

Add a HEALTHCHECK to the dockerfile so automated scripts can correctly wait until files are downloaded

We should add a healthcheck script which verifies that all files have been downloaded and set that as the Dockerfile HEALTHCHECK. Without this, demo deployments can't tell if pulling examples failed or simply did not complete yet.

If the main download script touches a before/after marker file, we can make the HEALTHCHECK simply look for the after marker file to know that all data was successfully downloaded.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.