Read Excel Sheet

This commit is contained in:
Cal W
2023-04-02 19:08:49 +10:00
parent 18c41cf634
commit a4b0639ca0
3 changed files with 25 additions and 1 deletions

16
.vscode/launch.json vendored Normal file
View 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
}
]
}

View File

@@ -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()

View File

@@ -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