diff --git a/NBA_pts_bar.png b/NBA_pts_bar.png new file mode 100644 index 0000000..4eac02c Binary files /dev/null and b/NBA_pts_bar.png differ diff --git a/__pycache__/lib.cpython-312.pyc b/__pycache__/lib.cpython-312.pyc new file mode 100644 index 0000000..130842f Binary files /dev/null and b/__pycache__/lib.cpython-312.pyc differ diff --git a/requirements.txt b/requirements.txt index a161d6b..045aac2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,8 +15,4 @@ uvicorn == 0.18.3 #math #unpinned due to package conflicts pandas -matplotlib>=3.5, <3.10 -ydata-profiling - -#processing -markdownify==0.13.1 \ No newline at end of file +matplotlib>=3.5, <3.10 \ No newline at end of file diff --git a/script.py b/script.py index 3a4f9f4..7c88d7e 100644 --- a/script.py +++ b/script.py @@ -2,8 +2,6 @@ from lib import load_data import matplotlib.pyplot as plt -import markdownify as md -from ydata_profiling import ProfileReport data = "NBA_24_stats.csv" @@ -29,17 +27,6 @@ def points_plot(dataset): plt.show() -def report(dataset): - "generates report and converts to pdf" - df = load_data(dataset) - profile = ProfileReport(df, title="NBA Statistics") - export = profile.to_html() - markdown = md.markdownify(export) - with open("NBA_report.md", "w", encoding="utf-8") as f_write: - f_write.write(markdown) - - if __name__ == "__main__": summary(data) points_plot(data) - report(data)