Data Science, Product Analytics, Simulation, Deep Dives, Programming.
Created CS agent with name John Doe When we created an instance of the class, the function __init__ was executed. We can use __dict__ property to present class fields as a dictionary. It often can be handy, for example, if you want to convert a list of objects into a data frame.