Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are decorators in Python?

Answer Posted / nashiinformaticssolutions

Decorators are used to alter the appearance of a function while retaining its structure. They are often defined before the function that they improve.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You are given two tables- friend_request and request_accepted. Friend_request contains requester_id, time and sent_to_id and request_accepted table contains time, acceptor_id and requestor_id. How will you determine the overall acceptance rate of requests?

308


What is market basket analysis?

319


What is the importance of selection bias?

297


How do you work towards a random forest?

269


What is market basket analysis? How would you do it in r and python?

268


You have been given the data on Facebook user's friending or defriending each other. How will you determine whether a given pair of Facebook users are friends or not?

306


How make you 3d plots/visualizations using numpy/scipy?

340


Why do you need a for loop? How do you do for loops in python and r?

305


Why do you want to work as a data scientist?

257


How would you add value to the company through your projects?

344


A jar has 1000 coins, of which 999 are fair and 1 is double headed. Pick a coin at random, and toss it 10 times. Given that you see 10 heads, what is the probability that the next toss of that coin is also a head?

1421


How will you decide whether a customer will buy a product today or not given the income of the customer, location where the customer lives, profession and gender? Define a machine learning algorithm for this.

258


How would add new Facebook members to the database of members, and code their relationships to others in the database?

327


What is bias – variance tradeoff?

260


How many people are using Facebook in California at 1.30 PM on Monday?

384