G2 and Todos. Trying to better organized my API stuff.
This commit is contained in:
17
Scripts/Organized_API/app.py
Normal file
17
Scripts/Organized_API/app.py
Normal file
@ -0,0 +1,17 @@
|
||||
import requests
|
||||
import pandas as pd
|
||||
import time
|
||||
|
||||
def main():
|
||||
print("Welcome! Let's get started....")
|
||||
time.sleep(.5)
|
||||
file = input(
|
||||
"Let's start with the file. Can you please tell me where the file is located? Please use full file path \n")
|
||||
print("Awesome! Analyzing...")
|
||||
dt = pd.read_csv(file)
|
||||
print(f"Sweet, so here are the columns for the data I found. {dt.columns.tolist()}")
|
||||
print("What would you like me to do?")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user