Skip to content

Instantly share code, notes, and snippets.

View findtharun's full-sized avatar
🎯
Learning

Tharun Kumar Tallapalli findtharun

🎯
Learning
View GitHub Profile
import logging
import boto3
from botocore.exceptions import ClientError
logger = logging.getLogger(__name__)
glacier=boto3.resource('glacier')
# Create a Vault
def create_vault(vault_name):
int a;
int voltage_A2 = A2;
int actualvoltage;
int voltage;
void setup()
{
pinMode(8, OUTPUT); //LED 1
pinMode (9, OUTPUT); //LED 2
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BOARD) #define the pin that goes to the circuit
pin_to_circuit = 22
def rc_time (pin_to_circuit):
count = 0 #Output on the pin for
GPIO.setup(pin_to_circuit, GPIO.OUT)
GPIO.output(pin_to_circuit, GPIO.LOW)
time.sleep(0.1) #Change the pin back to input
GPIO.setup(pin_to_circuit, GPIO.IN) #Count until the pin goes high
import pandas_profiling
data.profile_report()
from dataprep.eda import plot
plot(data)
from dataprep.eda import plot
plot(data)
import pandas as pd
import numpy as np
from sklearn.svm import SVC
from sklearn.model_selection import train_test_split
from sklearn import datasets
data=pd.read_csv('Iris.csv')
# iris=datasets.load_iris()
# x=iris.data
# y=iris.target
#print(y)
from quickda.explore_time_series import *
eda_timeseries(data, x='date', y='Occupancy')
from quickda.explore_numeric import *
eda_num(data, method='correlation')
from quickda.explore_data import *
explore(data)