Read Excel Sheet
This commit is contained in:
16
.vscode/launch.json
vendored
Normal file
16
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
// Use IntelliSense to learn about possible attributes.
|
||||||
|
// Hover to view descriptions of existing attributes.
|
||||||
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Python: Current File",
|
||||||
|
"type": "python",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${file}",
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"justMyCode": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
9
main.py
9
main.py
@@ -1,8 +1,15 @@
|
|||||||
# ENGG4900 Graph Generators
|
# ENGG4900 Graph Generators
|
||||||
# Cal Wing 2023
|
# Cal Wing 2023
|
||||||
|
|
||||||
|
import numpy as np
|
||||||
|
import pandas as pd
|
||||||
|
|
||||||
|
DATA_FILE_PATH = ".\\data\\AERO4450-Group-10-Data-Analysis-v2.xls"
|
||||||
|
DATA_FILE = pd.read_excel(DATA_FILE_PATH)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
print("Hello World!")
|
print(DATA_FILE)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
@@ -11,3 +11,4 @@ pyparsing==3.0.9
|
|||||||
python-dateutil==2.8.2
|
python-dateutil==2.8.2
|
||||||
pytz==2023.3
|
pytz==2023.3
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
|
xlrd==2.0.1
|
||||||
|
|||||||
Reference in New Issue
Block a user