When you’re in the left lane you must turn left, you cannot go straight. YOU HAVE TO GO LEFT!!
Answer:
x = 1 ; y = 1
Explanation:
The newly created AVG column will contain the mean value of all 6 columns(P2010, P2011, P2012, P2013, 2014 and P2015) this means that we are taking the mean across the columns as our AVG column have the same length as the initial lengtb of the data Frame as all a values in each index are averaged to create the new column. To achieve this the value 1 will be passed to the axis argument in the apply method.
To drop the previous 6 columns, we se the axis argument set to 1, this will delete the columns passed to the drop method.
Hence, both x and y values of the axis argument will take the value 1.
<span>public String getemailssername (String aUser)
{
return aUser.substring(0, aUser.indexOf("@"));
}</span>
Music = (“rap”, “hip hop”, “gospel”)
Country = (“country”,) #make sure that comma is outside of quotes
New_music = music + Country
print(New_music)
#var can be whatever you want
output:
(“rap”, “hip hop”, “gospel”, “country”)