USE world;
SELECT * from city limit 5;
Database - Part I here we are creating Sales Database
# LECTURE: Creating a
CREATE DATABASE IF NOT EXISTS Sales;
CREATE SCHEMA IF NOT EXISTS Sales;
use Sales database
# USE Sales;
CREATE TABLE sales
(INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
purchase_number DATE NOT NULL,
date_of_purchase INT,
customer_id VARCHAR(10) NOT NULL
item_code
);
# %load R.py
"""
Created on Thu Mar 9 02:53:46 2023
@author: Administrator
"""
%load_ext rpy2.ipython
C:\Users\Administrator\anaconda3\lib\site-packages\rpy2\robjects\packages.py:367: UserWarning: The symbol 'quartz' is not in this R namespace/package.
warnings.warn(
%%R
library(ggplot2)<- ggplot(iris, aes(Sepal.Length, Petal.Length, colour=Species)) + geom_point()
p p
from matplotlib import pyplot as plt
#Plotting to our canvas
1,2,3],[4,5,1])
plt.plot([
#Showing what we plotted
plt.show()
Resources:
+ https://www.educba.com/data-science/data-science-tutorials/mysql-tutorial/
+ https://www.w3schools.com/mysql/default.asp
No matching items