added r script not releasable code yet
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import pandas as pd
|
||||
|
||||
|
||||
class DataSchema:
|
||||
AMOUNT = "amount"
|
||||
CATEGORY = "category"
|
||||
@ -8,8 +7,17 @@ class DataSchema:
|
||||
MONTH = "month"
|
||||
YEAR = "year"
|
||||
|
||||
class SPC_Schema:
|
||||
FC = "FC"
|
||||
Category1 = "Category1"
|
||||
Category2 = "Category2"
|
||||
Category3 = "Category3"
|
||||
Batch = "Batch"
|
||||
Lot = "Lot"
|
||||
DateTime = "DateTime"
|
||||
Value = "Value"
|
||||
|
||||
def load_transaction_data(path: str) -> pd.DataFrame:
|
||||
def load_spc_data(path: str) -> pd.DataFrame:
|
||||
# load the data from the CSV file
|
||||
data = pd.read_csv(
|
||||
path,
|
||||
|
3
src/data/statistic_ver.R
Normal file
3
src/data/statistic_ver.R
Normal file
@ -0,0 +1,3 @@
|
||||
library("ggplot2")
|
||||
|
||||
read.csv("data\\")
|
Reference in New Issue
Block a user