December 2018
Beginner to intermediate
490 pages
10h 38m
English
setup: This is an optional method implemented by the PixieApp to initialize its state. Will be automatically invoked before the PixieApp runs.Arguments: None
Example:
def setup(self):
self.var1 = “some initial value”
self.pandas_dataframe = pandas.DataFrame(data)You can find the code file here:
https://github.com/DTAIEB/Thoughtful-Data-Science/blob/master/chapter%205/sampleCode39.py
run: This starts the PixieApp.Arguments:
pd_entity attribute or directly as a field called pixieapp_entity.runInDialog=”true” will start the PixieApp in a dialog.app = MyPixieApp() ...
Read now
Unlock full access