inputImg(Promt:string) -> Pillow ImageWith the command inputImg you can ask the user of your program for an image. If you then upload an image in the chat, it will be converted into a Pillow Image object which you can use in the further course. With .show() you can display the image in the chat.
Example usage:
img = inputImg("Submit a picture") # asks for a picture
img.show() # displays the picture in the chat
inputTable(Promt:string) -> pandas.dataframeWith the command inputTable you can ask the user of your program for a table. If you upload a table in the chat, it will be converted into a pandas dataframe object which you can use in the further course. With print([name of your dataframe]) you can display the table in the chat.
The first row of the specified csv table becomes the head of the data frame. The index is ignored in input and output
Example usage:
df = inputTable("Submit a table") # asks for a table
print(df) # displays the table in the chat