This commit is contained in:
2023-04-09 21:05:30 +03:00
parent e11dd8f72c
commit 2aefddb8ff
6 changed files with 143 additions and 68 deletions

View File

@@ -2,7 +2,7 @@
<module type="PYTHON_MODULE" version="4"> <module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager"> <component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" /> <content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Pipenv (YZM509)" jdkType="Python SDK" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
</module> </module>

View File

@@ -10,6 +10,6 @@ matplotlib = "*"
[dev-packages] [dev-packages]
[requires] # [requires]
python_version = "3.10" # python_version = "3.11"
python_full_version = "3.10.10" # python_full_version = "3.10.10"

70
YZM509/Pipfile.lock generated
View File

@@ -1,13 +1,10 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "ce683a48d8603a4cbf7b8e5dc367f147bdf38badbf899399e378159fda96c811" "sha256": "b5c57b3f8effe18351019083dd977419d54387d22036789ce1f1d7dcf5aff260"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {},
"python_full_version": "3.10.10",
"python_version": "3.10"
},
"sources": [ "sources": [
{ {
"name": "pypi", "name": "pypi",
@@ -25,6 +22,14 @@
"markers": "python_full_version >= '3.6.2'", "markers": "python_full_version >= '3.6.2'",
"version": "==3.6.2" "version": "==3.6.2"
}, },
"appnope": {
"hashes": [
"sha256:02bd91c4de869fbb1e1c50aafc4098827a7a54ab2f39d9dcba6c9547ed920e24",
"sha256:265a455292d0bd8a72453494fa24df5a11eb18373a60c7c0430889f22548605e"
],
"markers": "platform_system == 'Darwin'",
"version": "==0.1.3"
},
"argon2-cffi": { "argon2-cffi": {
"hashes": [ "hashes": [
"sha256:8c976986f2c5c0e5000919e6de187906cfd81fb1c72bf9d88c01177e77da7f80", "sha256:8c976986f2c5c0e5000919e6de187906cfd81fb1c72bf9d88c01177e77da7f80",
@@ -92,11 +97,11 @@
}, },
"beautifulsoup4": { "beautifulsoup4": {
"hashes": [ "hashes": [
"sha256:2130a5ad7f513200fae61a17abb5e338ca980fa28c439c0571014bc0217e9591", "sha256:492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da",
"sha256:c5fceeaec29d09c84970e47c65f2f0efe57872f7cff494c9691a26ec0ff13234" "sha256:bd2520ca0d9d7d12694a53d44ac482d181b4ec1888909b035a3dbf40d0f57d4a"
], ],
"markers": "python_full_version >= '3.6.0'", "markers": "python_full_version >= '3.6.0'",
"version": "==4.12.0" "version": "==4.12.2"
}, },
"bleach": { "bleach": {
"hashes": [ "hashes": [
@@ -254,26 +259,27 @@
}, },
"debugpy": { "debugpy": {
"hashes": [ "hashes": [
"sha256:0ea1011e94416e90fb3598cc3ef5e08b0a4dd6ce6b9b33ccd436c1dffc8cd664", "sha256:0679b7e1e3523bd7d7869447ec67b59728675aadfc038550a63a362b63029d2c",
"sha256:23363e6d2a04d726bbc1400bd4e9898d54419b36b2cdf7020e3e215e1dcd0f8e", "sha256:279d64c408c60431c8ee832dfd9ace7c396984fd7341fa3116aee414e7dcd88d",
"sha256:23c29e40e39ad7d869d408ded414f6d46d82f8a93b5857ac3ac1e915893139ca", "sha256:33edb4afa85c098c24cc361d72ba7c21bb92f501104514d4ffec1fb36e09c01a",
"sha256:549ae0cb2d34fc09d1675f9b01942499751d174381b6082279cf19cdb3c47cbe", "sha256:38ed626353e7c63f4b11efad659be04c23de2b0d15efff77b60e4740ea685d07",
"sha256:70ab53918fd907a3ade01909b3ed783287ede362c80c75f41e79596d5ccacd32", "sha256:5224eabbbeddcf1943d4e2821876f3e5d7d383f27390b82da5d9558fd4eb30a9",
"sha256:72687b62a54d9d9e3fb85e7a37ea67f0e803aaa31be700e61d2f3742a5683917", "sha256:53f7a456bc50706a0eaabecf2d3ce44c4d5010e46dfc65b6b81a518b42866267",
"sha256:78739f77c58048ec006e2b3eb2e0cd5a06d5f48c915e2fc7911a337354508110", "sha256:9cd10cf338e0907fdcf9eac9087faa30f150ef5445af5a545d307055141dd7a4",
"sha256:7aa7e103610e5867d19a7d069e02e72eb2b3045b124d051cfd1538f1d8832d1b", "sha256:aaf6da50377ff4056c8ed470da24632b42e4087bc826845daad7af211e00faad",
"sha256:87755e173fcf2ec45f584bb9d61aa7686bb665d861b81faa366d59808bbd3494", "sha256:b3e7ac809b991006ad7f857f016fa92014445085711ef111fdc3f74f66144096",
"sha256:9b5d1b13d7c7bf5d7cf700e33c0b8ddb7baf030fcf502f76fc061ddd9405d16c", "sha256:bae1123dff5bfe548ba1683eb972329ba6d646c3a80e6b4c06cd1b1dd0205e9b",
"sha256:a771739902b1ae22a120dbbb6bd91b2cae6696c0e318b5007c5348519a4211c6", "sha256:c0ff93ae90a03b06d85b2c529eca51ab15457868a377c4cc40a23ab0e4e552a3",
"sha256:b9c2130e1c632540fbf9c2c88341493797ddf58016e7cba02e311de9b0a96b67", "sha256:c4c2f0810fa25323abfdfa36cbbbb24e5c3b1a42cb762782de64439c575d67f2",
"sha256:be596b44448aac14eb3614248c91586e2bc1728e020e82ef3197189aae556115", "sha256:d71b31117779d9a90b745720c0eab54ae1da76d5b38c8026c654f4a066b0130a",
"sha256:c05349890804d846eca32ce0623ab66c06f8800db881af7a876dc073ac1c2225", "sha256:dbe04e7568aa69361a5b4c47b4493d5680bfa3a911d1e105fbea1b1f23f3eb45",
"sha256:de4a045fbf388e120bb6ec66501458d3134f4729faed26ff95de52a754abddb1", "sha256:de86029696e1b3b4d0d49076b9eba606c226e33ae312a57a46dca14ff370894d",
"sha256:dff595686178b0e75580c24d316aa45a8f4d56e2418063865c114eef651a982e", "sha256:e3876611d114a18aafef6383695dfc3f1217c98a9168c1aaf1a02b01ec7d8d1e",
"sha256:f6383c29e796203a0bba74a250615ad262c4279d398e89d895a69d3069498305" "sha256:ed6d5413474e209ba50b1a75b2d9eecf64d41e6e4501977991cdc755dc83ab0f",
"sha256:f90a2d4ad9a035cee7331c06a4cf2245e38bd7c89554fe3b616d90ab8aab89cc"
], ],
"markers": "python_version >= '3.7'", "markers": "python_version >= '3.7'",
"version": "==1.6.6" "version": "==1.6.7"
}, },
"decorator": { "decorator": {
"hashes": [ "hashes": [
@@ -664,11 +670,11 @@
}, },
"nbclassic": { "nbclassic": {
"hashes": [ "hashes": [
"sha256:312b3f7d7ff2e6c261d51799bb12e6493498ab47d3469d3a01015d5533fd4d2b", "sha256:47791b04dbcb89bf7fde910a3d848fd4793a4248a8936202453631a87da37d51",
"sha256:df78e4ba143f35084ad060deec16cb1d4839dde47bfdbc4232beb7071a6d70ea" "sha256:d2c91adc7909b0270c73e3e253d3687a6704b4f0a94bc156a37c85eba09f4d37"
], ],
"markers": "python_version >= '3.7'", "markers": "python_version >= '3.7'",
"version": "==0.5.4" "version": "==0.5.5"
}, },
"nbclient": { "nbclient": {
"hashes": [ "hashes": [
@@ -704,11 +710,11 @@
}, },
"notebook": { "notebook": {
"hashes": [ "hashes": [
"sha256:50a334ad9d60b30cb759405168ef6fc3d60350ab5439fb1631544bb09dcb2cce", "sha256:517209568bd47261e2def27a140e97d49070602eea0d226a696f42a7f16c9a4e",
"sha256:b12bee3292211d85dd7e588a790ddce30cb3e8fbcfa1e803522a207f60819e05" "sha256:dd17e78aefe64c768737b32bf171c1c766666a21cc79a44d37a1700771cab56f"
], ],
"markers": "python_version >= '3.7'", "markers": "python_version >= '3.7'",
"version": "==6.5.3" "version": "==6.5.4"
}, },
"notebook-shim": { "notebook-shim": {
"hashes": [ "hashes": [

View File

@@ -13,19 +13,32 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 1,
"outputs": [], "outputs": [],
"source": [ "source": [
"dizi = [37, 40, 1, 2, 3, 3, 4, 5, 15, 20, 4, 3]" "dizi = [37, 40, 1, 2, 3, 3, 4, 5, 15, 20, 4, 3]"
], ],
"metadata": { "metadata": {
"collapsed": false "collapsed": false,
"ExecuteTime": {
"start_time": "2023-04-08T23:13:37.482288Z",
"end_time": "2023-04-08T23:13:37.486971Z"
}
} }
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 2,
"outputs": [], "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"11.416666666666666\n",
"11.416666666666666\n"
]
}
],
"source": [ "source": [
"def mean1(a):\n", "def mean1(a):\n",
" return sum(a) / float(len(a))\n", " return sum(a) / float(len(a))\n",
@@ -38,16 +51,37 @@
"print(mean2(dizi))" "print(mean2(dizi))"
], ],
"metadata": { "metadata": {
"collapsed": false "collapsed": false,
"ExecuteTime": {
"start_time": "2023-04-08T23:13:37.490658Z",
"end_time": "2023-04-08T23:13:37.494548Z"
}
} }
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 3,
"outputs": [], "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"4.0\n",
"4.0\n"
]
},
{
"data": {
"text/plain": "3"
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [ "source": [
"def median(ls):\n", "def median(ls):\n",
" # orjinla diziyi bozmayalım diye kopyasını alallım\n", " # orjinal diziyi bozmayalım diye kopyasını alalım\n",
" data = sorted(ls)\n", " data = sorted(ls)\n",
"\n", "\n",
" # // --> Floor division\n", " # // --> Floor division\n",
@@ -65,7 +99,11 @@
"statistics.mode(dizi)" "statistics.mode(dizi)"
], ],
"metadata": { "metadata": {
"collapsed": false "collapsed": false,
"ExecuteTime": {
"start_time": "2023-04-08T23:13:37.495794Z",
"end_time": "2023-04-08T23:13:37.506885Z"
}
} }
}, },
{ {

View File

@@ -2,9 +2,13 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 1,
"metadata": { "metadata": {
"tags": [] "tags": [],
"ExecuteTime": {
"start_time": "2023-04-08T23:14:36.974703Z",
"end_time": "2023-04-08T23:14:37.874676Z"
}
}, },
"outputs": [ "outputs": [
{ {
@@ -39,11 +43,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 2,
"metadata": { "metadata": {
"collapsed": false, "collapsed": false,
"jupyter": { "jupyter": {
"outputs_hidden": false "outputs_hidden": false
},
"ExecuteTime": {
"start_time": "2023-04-08T23:14:37.894223Z",
"end_time": "2023-04-08T23:14:37.990558Z"
} }
}, },
"outputs": [ "outputs": [
@@ -87,11 +95,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 2,
"outputs": [], "outputs": [],
"source": [], "source": [],
"metadata": { "metadata": {
"collapsed": false "collapsed": false,
"ExecuteTime": {
"start_time": "2023-04-08T23:14:37.989090Z",
"end_time": "2023-04-08T23:14:37.997121Z"
}
} }
} }
], ],

View File

@@ -4,18 +4,24 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="fdff8b4f-ad89-4e24-b13f-eadf3aacfd67" name="Changes" comment=""> <list default="true" id="fdff8b4f-ad89-4e24-b13f-eadf3aacfd67" name="Changes" comment="q2">
<change beforePath="$PROJECT_DIR$/.idea/.gitignore" beforeDir="false" /> <change beforePath="$PROJECT_DIR$/../YZM509/.idea/YZM509.iml" beforeDir="false" afterPath="$PROJECT_DIR$/../YZM509/.idea/YZM509.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/YZM526.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/YZM526.iml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/../YZM509/Pipfile" beforeDir="false" afterPath="$PROJECT_DIR$/../YZM509/Pipfile" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Pipfile" beforeDir="false" afterPath="$PROJECT_DIR$/Pipfile" afterDir="false" /> <change beforePath="$PROJECT_DIR$/../YZM509/Pipfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/../YZM509/Pipfile.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Pipfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Pipfile.lock" afterDir="false" /> <change beforePath="$PROJECT_DIR$/../YZM509/nb/01_intro_statiscs.ipynb" beforeDir="false" afterPath="$PROJECT_DIR$/../YZM509/nb/01_intro_statiscs.ipynb" afterDir="false" />
<change beforePath="$PROJECT_DIR$/vize.ipynb" beforeDir="false" afterPath="$PROJECT_DIR$/vize.ipynb" afterDir="false" /> <change beforePath="$PROJECT_DIR$/../YZM509/nb/02_matplot.ipynb" beforeDir="false" afterPath="$PROJECT_DIR$/../YZM509/nb/02_matplot.ipynb" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../YZM509/nb/readme.md" beforeDir="false" afterPath="$PROJECT_DIR$/../YZM509/nb/readme.md" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" /> <option name="LAST_RESOLUTION" value="IGNORE" />
</component> </component>
<component name="ChangesViewManager">
<option name="groupingKeys">
<option value="directory" />
</option>
</component>
<component name="Git.Settings"> <component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." /> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component> </component>
@@ -27,19 +33,19 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
"RunOnceActivity.OpenProjectViewOnStart": "true", &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"WebServerToolWindowFactoryState": "false", &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
"node.js.detected.package.eslint": "true", &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
"node.js.detected.package.tslint": "true", &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
"node.js.selected.package.eslint": "(autodetect)", &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
"node.js.selected.package.tslint": "(autodetect)", &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
"nodejs_package_manager_path": "npm", &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
"vue.rearranger.settings.migration": "true" &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
} }
}]]></component> }</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" /> <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager"> <component name="TaskManager">
<task active="true" id="Default" summary="Default task"> <task active="true" id="Default" summary="Default task">
@@ -49,10 +55,23 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1680979066279</updated> <updated>1680979066279</updated>
<workItem from="1680979067356" duration="3117000" /> <workItem from="1680979067356" duration="3117000" />
<workItem from="1681063047081" duration="215000" />
</task> </task>
<task id="LOCAL-00001" summary="q2">
<created>1681063147740</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1681063147740</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" /> <option name="version" value="3" />
</component> </component>
<component name="VcsManagerConfiguration">
<MESSAGE value="q2" />
<option name="LAST_COMMIT_MESSAGE" value="q2" />
</component>
</project> </project>