chore: cleanup

This commit is contained in:
2026-05-21 15:54:39 +02:00
parent 4768232a96
commit 27b99f18ab
4 changed files with 27 additions and 138 deletions
-103
View File
@@ -1,103 +0,0 @@
{
"nodes": {
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1779303056,
"narHash": "sha256-+DJSNTtrdUb5yelcKp8fa5aITlg050701WCOJt0oMtI=",
"owner": "cachix",
"repo": "devenv",
"rev": "0d0be23517b92cbcedd95a0dbb6f735deae9b38c",
"type": "github"
},
"original": {
"dir": "src/modules",
"owner": "cachix",
"repo": "devenv",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"nixpkgs": {
"inputs": {
"nixpkgs-src": "nixpkgs-src"
},
"locked": {
"lastModified": 1778507786,
"narHash": "sha256-HzSQCKMsMr8r55LwM1JuzIOB+8bzk0FEv6sItKvsfoY=",
"owner": "cachix",
"repo": "devenv-nixpkgs",
"rev": "8f24a228a782e24576b155d1e39f0d914b380691",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "rolling",
"repo": "devenv-nixpkgs",
"type": "github"
}
},
"nixpkgs-python": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1779117433,
"narHash": "sha256-iKhNJH1ABTrPvDF6Sd1U+GCVYSh8Xn88ee10ko7PvvE=",
"owner": "cachix",
"repo": "nixpkgs-python",
"rev": "a0f88fb785debcb0a201d0ce311a2e3d829e4a1b",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "nixpkgs-python",
"type": "github"
}
},
"nixpkgs-src": {
"flake": false,
"locked": {
"lastModified": 1778274207,
"narHash": "sha256-I4puXmX1iovcCHZlRmztO3vW0mAbbRvq4F8wgIMQ1MM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b3da656039dc7a6240f27b2ef8cc6a3ef3bccae7",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"devenv": "devenv",
"nixpkgs": "nixpkgs",
"nixpkgs-python": "nixpkgs-python"
}
}
},
"root": "root",
"version": 7
}
-27
View File
@@ -1,27 +0,0 @@
{ pkgs, lib, config, ... }:
{
languages.python = {
enable = true;
version = "3.12";
venv.enable = true;
venv.requirements = ''
ipython
jupyter
jupyterlab
numpy
pandas
matplotlib
seaborn
scikit-learn
imbalanced-learn
statsmodels
ydata-profiling
'';
};
packages = [
pkgs.graphviz
pkgs.zsh
];
}
-6
View File
@@ -1,6 +0,0 @@
inputs:
nixpkgs-python:
url: github:cachix/nixpkgs-python
inputs:
nixpkgs:
follows: nixpkgs
@@ -1891,7 +1891,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 37,
"id": "864d7618",
"metadata": {
"scrolled": true
@@ -1908,6 +1908,27 @@
"YearBuilt > 2018 0\n",
"Koordinaten ausserhalb Melbourne: 0\n"
]
},
{
"data": {
"text/plain": [
"BuildingArea\n",
"120.0 119\n",
"100.0 96\n",
"110.0 96\n",
"130.0 90\n",
"115.0 87\n",
"150.0 82\n",
"112.0 74\n",
"140.0 72\n",
"90.0 72\n",
"104.0 70\n",
"Name: count, dtype: int64"
]
},
"execution_count": 37,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
@@ -1929,7 +1950,11 @@
"df[['Lattitude', 'Longtitude']].describe()\n",
"weird = df[(df['Lattitude'] > -37) | (df['Lattitude'] < -39) |\n",
" (df['Longtitude'] < 144) | (df['Longtitude'] > 146)]\n",
"print(f'Koordinaten ausserhalb Melbourne: {len(weird)}')"
"print(f'Koordinaten ausserhalb Melbourne: {len(weird)}')\n",
"\n",
"# spikes\n",
"df['Landsize'].value_counts().head(10)\n",
"df['BuildingArea'].value_counts().head(10)"
]
},
{