'Python : send request to Fog nodes/Fog computing

# if an alert is found, prints alert, else normal.
if len(df [ (df [ 'SBP' ] > 150) & (df [ 'DBP' ] > 80) & (df [ 'HEARTRATE' ] > 100) & (
        df [ 'Temperature' ] > 100) ]) > 0:
    print('\n Alert :\n', Time_sensitive_df)
else:
    print('\n Normal Condition :\n', normal_df)

Here is my code i want to store a data frame on fog nodes and send any message if Condition Meet . and if condition not meet data store on cloud. Can anyone help me in coding how to build fog nodes in python and how to store data on cloud and fog nodes.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source