Лабораторная работа 1

This commit is contained in:
2025-04-06 13:21:55 +04:00
parent 750eddda0f
commit 2e29f21048
5 changed files with 4430 additions and 3 deletions

3756
data/ds_salaries.csv Normal file

File diff suppressed because it is too large Load Diff

664
lab_1.ipynb Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,9 @@
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
matplotlib = '^3.9.2'
[project]
name = "DataScienceLabs"
version = "1"
@@ -10,9 +13,6 @@ authors = [
]
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]

4
src/notebook_utils.py Normal file
View File

@@ -0,0 +1,4 @@
HEADER_MASK = '\n---| {header} |---\n'
def print_header(header: str):
print(HEADER_MASK.format(header=header))

3
src/path_utils.py Normal file
View File

@@ -0,0 +1,3 @@
DATA_PATH_PREFIX = 'data/'
DATA_SCIENCE_SALARIES_CSV_PATH = DATA_PATH_PREFIX + 'ds_salaries.csv'
TEST_DOWNLOAD_CSV_PATH = DATA_PATH_PREFIX + 'test.csv'