Skip to content
Snippets Groups Projects
Commit f7cadbc2 authored by Saisri Vegesna's avatar Saisri Vegesna
Browse files

Upload New File

parent 05a50954
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` python
import numpy as np
import pandas as pd
import pandas_profiling
```
%% Cell type:code id: tags:
``` python
df = pd.read_csv('userusage.txt',delimiter='|')
```
%% Cell type:code id: tags:
``` python
df.head()
```
%% Cell type:code id: tags:
``` python
df[['jid','step']] = df.JobID.str.split(".",expand=True)
df.Partition.values
```
%% Cell type:code id: tags:
``` python
batchDF=df.dropna(subset=["MaxRSS"])
userDF=df.dropna(subset=["User"])
for jid in df.jid.unique():
userDF['MaxRSS'][userDF['jid'] == jid]=batchDF['MaxRSS'][batchDF['jid'] == jid]
#print(userDF[userDF['jid'] == jid])
userDF.head()
```
%% Cell type:markdown id: tags:
# add more graphs here
%% Cell type:code id: tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment