I have a pandas data frame with many rows and columns like this
Name Skill Age
Adam C++ 23
Beth Java 25
Micheal Scala 21
...
Aaron Erlang 23
I have another list from which i can create a pandas series
dept = ['Country', 'UK']
pd.Series[dept]
s = pd.Series(dept)
Now i want to concat the dataframe and the Series with Second element of the list should be repeated.
Name Skill Age Country
Adam C++ 23 UK
Beth Java 25 UK
Micheal Scala 21 UK
...
Aaron Erlang 23 UK
UK should be repeated and the Country should become the label for the series.
I am clueless on how to achieve this