Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SCW
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Emilio Ambite
SCW
Commits
cda885bc
Commit
cda885bc
authored
Nov 28, 2019
by
Emilio Ambite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latest filled
parent
17e6c00e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
SCW-2019/filled/ProgPy_Analyzing_Patient_Data_filled.ipynb
SCW-2019/filled/ProgPy_Analyzing_Patient_Data_filled.ipynb
+1
-2
SCW-2019/filled/ProgPy_Lists_filled.ipynb
SCW-2019/filled/ProgPy_Lists_filled.ipynb
+1
-1
SCW-2019/filled/ProgPy_Making_choices_filled.ipynb
SCW-2019/filled/ProgPy_Making_choices_filled.ipynb
+3
-3
No files found.
SCW-2019/filled/ProgPy_Analyzing_Patient_Data_filled.ipynb
View file @
cda885bc
...
...
@@ -1023,8 +1023,7 @@
}
],
"source": [
"image = matplotlib.pyplot.imshow(data) # Remider: explain %matplotlib inline Note: Ipython!!\n",
" # otherwise matplotlib.pyplot.show() is mandatory!!"
"image = matplotlib.pyplot.imshow(data)"
]
},
{
...
...
SCW-2019/filled/ProgPy_Lists_filled.ipynb
View file @
cda885bc
...
...
@@ -14,7 +14,7 @@
"source": [
"Difference with array?\n",
"<li>They are very similar but they do not belong to numpy, and do not have some of the attributes of numpy arrays, such as mean sd max min etc... Beside this they are pretty similar in concept\n",
"<li>We create a list
the same
"
"<li>We create a list
using brackets
"
]
},
{
...
...
SCW-2019/filled/ProgPy_Making_choices_filled.ipynb
View file @
cda885bc
...
...
@@ -383,9 +383,9 @@
],
"source": [
"filenames = sorted(glob.glob('inflammation*.csv'))\n",
"
filenames = filenames[0:3]
# Get elements 0, 1 and 2 of the list corresponding to inf-01 inf-02 and inf-03\n",
"
filenames
\n",
"for f in filenames:\n",
"# Get elements 0, 1 and 2 of the list corresponding to inf-01 inf-02 and inf-03\n",
"\n",
"for f in filenames
[:3]
:\n",
" print(f,':')\n",
" data = numpy.loadtxt(fname=f, delimiter=',')\n",
" if (data.max(axis=0)[0]==0) and (data.max(axis=0)[20]==20): # Anomalous linear behavior of the max in the data\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment