In a previous tutorial, we saw how a database and table can be created in mySQL. Here is how you can run this on a local machine with the mySQL Installer and mySQL Workbench. 1. Firstly, make sure you have […]
Continue reading »Category: mySQL
Python-SQL Interaction (MySQLdb): Azure ML Studio
The following tutorial illustrates how to use Microsoft Azure to create a database and execute SQL commands using Python. Specifically, this tutorial is divided into the following two segments: How to configure Azure to set up a storage account, SQL […]
Continue reading »MySQLdb: Connect Python and mySQL Databases Together
In a previous tutorial, we set up a financial database using a range of mySQL queries, and used such queries to create separate tables and discriminate among data in those tables. However, there are many occasions when a user needs […]
Continue reading »Import Data Types Into R
The below snippets of code illustrate how to import data into R from several different formats. Import data in CSV format mydata = read.csv(“C:/R/MGFinance.csv”) #read csv file mydata Import data in JSON format install.packages(“jsonlite”) library(jsonlite) data
Continue reading »mySQL Queries (Financial Asset Database)
The following is a hypothetical dataset of 20 securities with various financial variables for each. As a database language, mySQL allows us to select specific data as specified by the user, as well as conduct certain calculations on the data […]
Continue reading »