My dataframe looks like this: 

```
source  target  w1  w2 
1       2       1   0
1       3       1   0     
1       4       1   0

```

and I'm trying to achieve this: 

```
source  target  w1
1       2       1 
1       3       1      
1       4       1
2       1       0
3       1       0
4       1       0

```

I simply need to append the current dataframe to itself, but with the first two columns (**source** and **target**) reversed, and to rename **w2** to **w1**. 

When I use the append or concat function I always get results looking like: 

```
source  target  w1
1       2       1 
1       3       1      
1       4       1
1       2       0
1       3       0
1       4       0

```

Does anybody know a solution?