Skip to content
Advertisement

is it possible to write image to csv file?

Hi everyone this is my first post here and wanted to know how can ı write image files that ı scraped from a website to a csv file or if its not possible to write on csv how can ı write this header,description,time info and image to a maybe word file Here is the code Everything works perfectly just wanna

loop in a list of lists

I am trying to use two foor loops for a variable with that has list within a list, but this code doesn’t work. I get the error: list index out of range Answer In your loop, j is not an index, it’s the element, you can use range to loop over the indices (same thing about i, use i[j], not

I have requests installed, but I am still getting the ModuleNotFoundError: No module named ‘requests’ error [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I did pip freeze, and found requests, therefore I have requests, but I am getting an error saying ModuleNotFoundError: No module named ‘requests’ I just

How can I export all dataframes into an Excel file

I have a notebook open with about 45 dataframes. I would like to export all of them into a single Excel file with each dataframe being it’s own tab in Excel. Is there an easy way to do this without having to write each tab out manually? Thank you! Answer Please check the link Example: Pandas Excel with multiple dataframes

CSV comparison with python multipleindex

I need to compare two CSV files and print out changed, remained same or deleted rows in a third CSV file. First csv file is like this: Second csv file: at the end this is the result i want to get: if a there is a new country added to a siteid then it has status of new. Location can

Advertisement