Skip to content

Commit

Permalink
removed parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
am-tropin committed Nov 16, 2023
1 parent 1fc18c2 commit 0829b43
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 51 deletions.
10 changes: 5 additions & 5 deletions app/functions/.ipynb_checkpoints/function_store-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8be440a6",
"id": "3eb9da63",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -355,10 +355,10 @@
"def check_city_district_radius_floor_rooms(apartments_df, city, district, radius, floor, rooms):\n",
" \n",
"# apartments_df = pd.read_csv(apartments_file)\n",
"# floor_values = list(set(apartments_df['floor']))\n",
"# rooms_values = list(set(apartments_df['rooms']))\n",
" floor_values = list(set(apartments_df.floor))\n",
" rooms_values = list(set(apartments_df.rooms))\n",
" floor_values = list(set(apartments_df['floor']))\n",
" rooms_values = list(set(apartments_df['rooms']))\n",
"# floor_values = list(set(apartments_df.floor))\n",
"# rooms_values = list(set(apartments_df.rooms))\n",
" \n",
" geo_df_for_check = apartments_df.groupby(['city', 'district']).agg({'radius':['min','max']})\n",
" \n",
Expand Down
10 changes: 5 additions & 5 deletions app/functions/function_store.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8be440a6",
"id": "3eb9da63",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -355,10 +355,10 @@
"def check_city_district_radius_floor_rooms(apartments_df, city, district, radius, floor, rooms):\n",
" \n",
"# apartments_df = pd.read_csv(apartments_file)\n",
"# floor_values = list(set(apartments_df['floor']))\n",
"# rooms_values = list(set(apartments_df['rooms']))\n",
" floor_values = list(set(apartments_df.floor))\n",
" rooms_values = list(set(apartments_df.rooms))\n",
" floor_values = list(set(apartments_df['floor']))\n",
" rooms_values = list(set(apartments_df['rooms']))\n",
"# floor_values = list(set(apartments_df.floor))\n",
"# rooms_values = list(set(apartments_df.rooms))\n",
" \n",
" geo_df_for_check = apartments_df.groupby(['city', 'district']).agg({'radius':['min','max']})\n",
" \n",
Expand Down
8 changes: 4 additions & 4 deletions app/functions/function_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,10 @@ def experiment_initialization(experiment_name):
def check_city_district_radius_floor_rooms(apartments_df, city, district, radius, floor, rooms):

# apartments_df = pd.read_csv(apartments_file)
# floor_values = list(set(apartments_df['floor']))
# rooms_values = list(set(apartments_df['rooms']))
floor_values = list(set(apartments_df.floor))
rooms_values = list(set(apartments_df.rooms))
floor_values = list(set(apartments_df['floor']))
rooms_values = list(set(apartments_df['rooms']))
# floor_values = list(set(apartments_df.floor))
# rooms_values = list(set(apartments_df.rooms))

geo_df_for_check = apartments_df.groupby(['city', 'district']).agg({'radius':['min','max']})

Expand Down
36 changes: 18 additions & 18 deletions app/tests/.ipynb_checkpoints/test_function_store-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
{
"cell_type": "code",
"execution_count": 19,
"id": "053f26e0",
"id": "d2050f2b",
"metadata": {},
"outputs": [],
"source": [
"from datatest import working_directory\n",
"\n",
"@pytest.fixture(scope=\"session\") #(scope='module')\n",
"@pytest.fixture #(scope=\"session\") #(scope='module')\n",
"@working_directory(__file__)\n",
"def grab_test_file():\n",
" file_path = 'test_file.csv'\n",
Expand All @@ -71,7 +71,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c69f2cba",
"id": "be80bbf2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -86,7 +86,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "860e4e81",
"id": "3564bbc4",
"metadata": {},
"outputs": [],
"source": []
Expand Down Expand Up @@ -114,7 +114,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "85d2686e",
"id": "217629e2",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -150,31 +150,31 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9a0dc6bf",
"id": "c953202e",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "47def8a2",
"id": "dc7808a1",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "d6a05660",
"id": "2faf0484",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 14,
"id": "0361bd84",
"id": "92f27cbf",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -185,7 +185,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "857ec818",
"id": "6626c5b7",
"metadata": {},
"outputs": [],
"source": []
Expand Down Expand Up @@ -215,7 +215,7 @@
{
"cell_type": "code",
"execution_count": 17,
"id": "ad5f7d89",
"id": "ec723882",
"metadata": {},
"outputs": [
{
Expand All @@ -237,7 +237,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "917b2186",
"id": "08756aa2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -247,7 +247,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "54b043ff",
"id": "b807f8b0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -268,7 +268,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "45a9e4d6",
"id": "45f7476c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -279,7 +279,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "94320ea3",
"id": "6c604b07",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -303,7 +303,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9e077f3a",
"id": "b3f52c46",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -337,15 +337,15 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9d0ef6f1",
"id": "19a99cd3",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "dbf36abc",
"id": "8825278f",
"metadata": {},
"outputs": [],
"source": []
Expand Down
36 changes: 18 additions & 18 deletions app/tests/test_function_store.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
{
"cell_type": "code",
"execution_count": 19,
"id": "053f26e0",
"id": "d2050f2b",
"metadata": {},
"outputs": [],
"source": [
"from datatest import working_directory\n",
"\n",
"@pytest.fixture(scope=\"session\") #(scope='module')\n",
"@pytest.fixture #(scope=\"session\") #(scope='module')\n",
"@working_directory(__file__)\n",
"def grab_test_file():\n",
" file_path = 'test_file.csv'\n",
Expand All @@ -71,7 +71,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c69f2cba",
"id": "be80bbf2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -86,7 +86,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "860e4e81",
"id": "3564bbc4",
"metadata": {},
"outputs": [],
"source": []
Expand Down Expand Up @@ -114,7 +114,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "85d2686e",
"id": "217629e2",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -150,31 +150,31 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9a0dc6bf",
"id": "c953202e",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "47def8a2",
"id": "dc7808a1",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "d6a05660",
"id": "2faf0484",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 14,
"id": "0361bd84",
"id": "92f27cbf",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -185,7 +185,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "857ec818",
"id": "6626c5b7",
"metadata": {},
"outputs": [],
"source": []
Expand Down Expand Up @@ -215,7 +215,7 @@
{
"cell_type": "code",
"execution_count": 17,
"id": "ad5f7d89",
"id": "ec723882",
"metadata": {},
"outputs": [
{
Expand All @@ -237,7 +237,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "917b2186",
"id": "08756aa2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -247,7 +247,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "54b043ff",
"id": "b807f8b0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -268,7 +268,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "45a9e4d6",
"id": "45f7476c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -279,7 +279,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "94320ea3",
"id": "6c604b07",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -303,7 +303,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9e077f3a",
"id": "b3f52c46",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -337,15 +337,15 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9d0ef6f1",
"id": "19a99cd3",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "dbf36abc",
"id": "8825278f",
"metadata": {},
"outputs": [],
"source": []
Expand Down
2 changes: 1 addition & 1 deletion app/tests/test_function_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

from datatest import working_directory

@pytest.fixture(scope="session") #(scope='module')
@pytest.fixture #(scope="session") #(scope='module')
@working_directory(__file__)
def grab_test_file():
file_path = 'test_file.csv'
Expand Down

0 comments on commit 0829b43

Please sign in to comment.