Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
swc-bb
S
swc-lessons
2020-04-20-Potsdam-Berlin
Python
Commits
fdf5ef2f
Commit
fdf5ef2f
authored
Nov 07, 2019
by
Shannon Osborne
Committed by
Lauren Ko
Nov 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change mean method for readings_03.py (#736)
parent
5c4806a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
code/readings_03.py
code/readings_03.py
+1
-1
No files found.
code/readings_03.py
View file @
fdf5ef2f
...
...
@@ -6,7 +6,7 @@ def main():
script
=
sys
.
argv
[
0
]
for
filename
in
sys
.
argv
[
1
:]:
data
=
numpy
.
loadtxt
(
filename
,
delimiter
=
','
)
for
m
in
data
.
mean
(
axis
=
1
):
for
m
in
numpy
.
mean
(
data
,
axis
=
1
):
print
(
m
)
...
...
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