Save image as csv

I’ve made the collage but i dont know how to save it as .csv file and give the file a header as (r,g,b)?

Hey @prerit_goyal, you just need to store your numpy array in a pandas dataframe first. Then you have to use the pandas to_csv function to store the values in a csv file.

Try doing it yourself with the help of documentation for syntax. If u get any doubt, feel free to contact me anytime.

I hope this helps ! :smile:
Happy Learning ! :+1:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.