LordSchitkunt
New Coder
Just some notes to remember syntax:
import numpy as np
-----------
import os
import pandas as pd
path = 'C:\\Users\Julia\Downloads\Lab11'
files = os.listdir(path)
masterList = []
for i in range(0, len(files)): #oops through files
data = pd.read_csv(path + '\\' + files) #eads each file
masterList.append(data) #puts the data from that file in an array
print(i)#prints the file number its on
final = pd.concat(masterList)
final.to_csv('C:\\Users\\Julia\Downloads\\lastname_lab11_problem2.csv)
-----------
import matplotlib.pyplot as plt
plt.hist(randArr)
plt.show()
---
plt.plot(a,0,'ro')
plt.title("Projectile Path")
plt.xlabel('x (m)')
plt.ylabel('y (m)')
= np.linspace(0,tof,200)
-------------------------
for a in randArr:
-----
x = [3,8,-2,6,7,-4,7,1,-5,8]
-----
index.append(x) #plus one to array
-----
if(x >= 90):
----
import numpy as np
-----------
import os
import pandas as pd
path = 'C:\\Users\Julia\Downloads\Lab11'
files = os.listdir(path)
masterList = []
for i in range(0, len(files)): #oops through files
data = pd.read_csv(path + '\\' + files) #eads each file
masterList.append(data) #puts the data from that file in an array
print(i)#prints the file number its on
final = pd.concat(masterList)
final.to_csv('C:\\Users\\Julia\Downloads\\lastname_lab11_problem2.csv)
-----------
import matplotlib.pyplot as plt
plt.hist(randArr)
plt.show()
---
plt.plot(a,0,'ro')
plt.title("Projectile Path")
plt.xlabel('x (m)')
plt.ylabel('y (m)')
= np.linspace(0,tof,200)
-------------------------
for a in randArr:
-----
x = [3,8,-2,6,7,-4,7,1,-5,8]
-----
index.append(x) #plus one to array
-----
if(x >= 90):
----