Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drdarshan
drdarshan / face_api_demo.ipynb
Created September 16, 2017 20:02
face_api_demo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drdarshan
drdarshan / azureml_sdk.py
Created February 10, 2016 19:58
Demonstrates the use of the Azure Python SDK to write files to Azure Storage from AzureML
STORAGE_ACCOUNT="ENTER YOUR STORAGE ACCOUNT NAME HERE"
STORAGE_KEY="ENTER YOUR STORAGE ACCOUNT KEY HERE"
CONTAINER_NAME="ENTER THE CONTAINER NAME WHERE YOU WANT THE OUTPUT BLOB TO GO"
BLOB_NAME="ENTER THE NAME OF THE OUTPUT BLOB HERE"
def azureml_main(dataframe1 = None, dataframe2 = None):
from azure.storage.blob.blobservice import BlobService
dataframe1.to_csv("output.csv", index=False)
###############################################################
# Get list of packages along with a short description
###############################################################
package.info <- as.data.frame(installed.packages())
package.info <- package.info[,c("Package", "Version")]
library.info <- as.data.frame(library()[2])
package.names <- library.info[,1]
row.names(library.info) <- package.names
package.info["Description"] = library.info[row.names(package.info),3]