This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!pip install opendatasets | |
import opendatasets as od | |
import pandas as pd | |
from google.colab import files | |
files.upload() | |
!ls -lha kaggle.json | |
!pip install -q kaggle # installing the kaggle package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const editAmount = (amount, changing) => { | |
if (changing > amount) { | |
return { | |
preAmount: amount, | |
currentAmount: changing, | |
interval: changing - amount, | |
status: "DITAMBAH", | |
}; | |
} else if (changing < amount) { | |
return { |