google-cloud-datalab


In datalab, Is it possible to pass data into a chart from python?


Trying to figure out if it is possible to reference python data as a source for creating a chart.
Here is a working example:
data = [
{'date': '2016/01/01', 'count': 10},
{'date': '2016/01/02', 'count': 15},
{'date': '2016/01/03', 'count': 12}
]
%chart pie -d data
As mentioned in the following post, check the browser console for additional detail regarding errors:
%%chart line graph in Datalab based on Bigquery data not rendering

Related Links

Is it possible to create a google cloud datalab instance not using datalab-network?
fail to create repository [datalab-notebooks] for Project
bigquery - current_date() inconsistent result?
Can I export to Google Sheets from Datalab?
Using bq command in datalab - credentials needed
Can I create kernel gateway endpoints in google cloud datalab?
Fastest way to read big amounts of data in Google Datalab?
Datalabs project not found
Datalab front get stuck when opening notebooks, and buttons aren't working
How can I programmatically give Cloud ML access to a bucket?
Running cloud datalab kernel on my own server?
How can I get the Cloud ML service account programmatically in Python?
Google datalab : how to import pickle
Is text the only content type for %%storage magic function in datalab
Do I need to update gcloud components as indicated in docker startup
How to import user-written custom modules in google datalab?

Categories

HOME
google-cloud-platform
gridview
localization
cobalt
paraview
nvd3.js
nunit
pyqt
interface
replace
spring-data-mongodb
aws-cli
scripting
google-apps
data-visualization
nfs
p2p
distribution
cmdb
xcodebuild
rtf
endpoint
plink
alpacajs
microsoft-dynamics-nav
aws-sdk
dreamweaver
wolframalpha
git-extensions
selinux
simpleitk
inno-download-plugin
angular-routing
imageresizer
data.stackexchange.com
itunes
gpio
amazon-quicksight
wcag
paperjs
boost-asio
event-flow
paragraph
quickfixj
laravel-eloquent
android-maps-extensions
lint
tasm
laravel-elixir
xmldocument
drupal-theming
importerror
activeperl
corruption
carrot2
static-cast
truezip
android-testing
cmp
jtree
flex-monkey
installshield-2010
tooleap
firebase-security
project-organization
invoke-sqlcmd
np-spring
phpgrid
r-package
visual-sourcesafe-2005
branch-and-bound
nsurlsessiondatatask
xmltype
theos
boost-program-options
sonarqube-5.0
personalization
jjaql
high-resolution
oocss
asdf
kaleidoscope
sentestingkit
boost-msm
mysql-error-1205
google-floodlight
timertask
jqueryform
ajax-polling
silverlight-oob
dsl-tools
sun
sifr3
escrow
wysiwym
application-planning
image-capture

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App