Question: I'm trying to display a static image located in the same folder as my Html file but it seems I can't get the right path for it to display correctly. The application I'm developing is an atlassian plugin that also includes a java backend to get Data from the Database and I'm displaying it on the frontend using HTML and javascript, the whole application runs on a webserver as a Plugin. Both the image and the Html file are located in here: `D:\clone4\project\src\main\resources\templates\scheduleraction`

The URL path for the web application is:

`https://staging.com/jira/secure/SchedulerAction!default.jspa`

I tried many ways and this is the last one :

`<img src="/SchedulerAction!default.jspa/piechart.jpg" alt="pie-chart">`

I need to add the correct path in the "src" so the client can retrieve the image from my Files on the webserver. I would love any hint or help!

[![enter image description here](https://i.stack.imgur.com/kdOj9.png)](https://i.stack.imgur.com/kdOj9.png)

Answer: 
```
s=df.mask((df-df.apply(lambda x: x.std() )).gt(5))#mask where condition applies
s=s.assign(A=s.A.fillna(s.A.max()),B=s.B.fillna(s.B.max())).sort_index(axis = 0)#fill with max per column and resort frame

    A    B
0  1.0  2.0
1  1.0  6.0
2  2.0  8.0
3  1.0  8.0
4  2.0  1.0

```
Calculate a column-wise z-score (if you deem something an outlier if it lies outside a given number of standard deviations of the column) and then calculate a boolean mask of values outside your desired range

```
def calc_zscore(col):
   return (col - col.mean()) / col.std()

zscores = df.apply(calc_zscore, axis=0)
outlier_mask = zscores > 5

```

After that it's up to you to fill the values marked with the boolean mask.

```
df[outlier_mask] = something

```