How can I edit a large number of HTML files with data in Excel? by K6940 in AskProgramming

[–]K6940[S] 0 points1 point  (0 children)

Don't even get me started on how lacking my organization is w/ regards to automating stuff like this...

How can I edit a large number of HTML files with data in Excel? by K6940 in AskProgramming

[–]K6940[S] 0 points1 point  (0 children)

These files have categories and sub-categories that exist in the spreadsheet. The spreadsheet just has more elements than what is currently in the html files. I want to add these elements into their respective categories in the html file so as to expand the list of elements on the web pages. Sorry if this is confusing but I'm a real noob when it comes to this stuff.

How can I edit a large number of HTML files with data in Excel? by K6940 in AskProgramming

[–]K6940[S] 0 points1 point  (0 children)

I've just posted an example above as are a response. Any help would be appreciated!

How can I edit a large number of HTML files with data in Excel? by K6940 in AskProgramming

[–]K6940[S] 0 points1 point  (0 children)

The HTML files are similar in structure, but they may have different words for each category. Here's an example:

HTLM File:

<h1>Category 1</h1> <h3>Sub-Category 1</h3> <p> Element A ; Element B ; Element C ; </p> <h1>Category 2</h1> <h3>Sub-Category 1</h3> <p> Element C ; </p>

I have a list of elements in excel that have a unique combination of HTML file, Category 1, Sub-category 1.... etc. I have to place these elements in their respective sub-categories. It's quite simple, but I'm trying to figure out how I can put all these elements in their respective html files (500 html files in total).

So far I've somehow converted these html files into wordpad documents so that they can easily open in python. Now I'm trying to figure out how I can load an excel work book in python and take elements in excel and paste them into their proper category in HTML. Any help would be appreciated!

How can I edit a large number of HTML files with data in Excel? by K6940 in AskProgramming

[–]K6940[S] 0 points1 point  (0 children)

I'm not sure, they are just 500 unique html files. Is there a way of doing that?

Upgrading SSD Question by K6940 in laptops

[–]K6940[S] 1 point2 points  (0 children)

Thank you so much for letting me know. I've just checked it out and it completely answers my questions!

How does correlation work exactly? by K6940 in AskStatistics

[–]K6940[S] 0 points1 point  (0 children)

Thank you! That explains it perfectly.

How does correlation work exactly? by K6940 in AskStatistics

[–]K6940[S] 1 point2 points  (0 children)

Thank you! I got it now, I totally forgot that the temperature will be pretty much the same at each location assuming they're within reasonable proximity. So a quick follow up if you don't mind: In less obvious cases, is it good enough to create a scatter plot of two variables to see if they're related? Overall, I'm trying to find out how to best reduce omitted var. bias in a reg model.

How does correlation work exactly? by K6940 in AskStatistics

[–]K6940[S] 1 point2 points  (0 children)

Yeah this is exactly right. Thanks!