Commit cf3a83da authored by William Monroe's avatar William Monroe
Browse files

removing output cells

parent df73e1ad
......@@ -16,37 +16,17 @@
"import pandas_profiling"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-16T20:57:11.865980Z",
"start_time": "2020-03-16T20:57:10.414986Z"
}
},
"outputs": [],
"source": [
"df = pd.read_csv('userusage.txt',delimiter='|')"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"execution_count": null,
"metadata": {
"ExecuteTime": {
"end_time": "2020-03-16T20:57:11.865980Z",
"start_time": "2020-03-16T20:57:10.414986Z"
}
},
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
"outputs": [],
"source": [
"df = pd.read_csv('userusage.txt',delimiter='|')"
]
},
......
......@@ -11,14 +11,10 @@
``` python
db = sqlite3.connect('test.db')
slurm2sql.slurm2sql(db, ['-S', '2020-03-18', '-a'])
```
%%%% Output: execute_result
0
%% Cell type:code id: tags:
``` python
# For example, you can then convert to a dataframe:
df1 = pd.read_sql('SELECT * FROM slurm', db)
......@@ -28,42 +24,10 @@
``` python
df1.head(5)
```
%%%% Output: execute_result
JobID ArrayJobID ArrayTaskID JobStep JobIDSlurm \
0 3319116 3319116 NaN None 3319116_[43-45,47%5]
1 3927198 3887451 30.0 None 3887451_30
2 3927198 3887451 30.0 batch 3887451_30.batch
3 3927198 3887451 30.0 extern 3887451_30.extern
4 3927199 3887451 31.0 None 3887451_31
JobName User Group Account State ... \
0 1mUD1MPa user user user PENDING ...
1 100kCrC20MPa user user user COMPLETED ...
2 batch user COMPLETED ...
3 extern user COMPLETED ...
4 100kCrC20MPa user user user COMPLETED ...
MaxDiskReadNode MaxDiskReadTask MaxDiskWrite MaxDiskWriteNode \
0 NaN
1 NaN
2 c0088 0 1.222336e+10 c0088
3 c0088 0 0.000000e+00 c0088
4 NaN
MaxDiskWriteTask ReqGPUS Comment GPUMem GPUEff NGPU
0 NaN None None None None
1 NaN None None None None
2 0 NaN None None None None
3 0 NaN None None None None
4 NaN None None None None
[5 rows x 63 columns]
%% Cell type:code id: tags:
``` python
print("more plots to come")
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment