Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
0 answers
55 views

web scraping table using pandas

I am learning web scraping on a course on coursera. I tried the code given in the course on my Mac (I use PyCharm by the way) but I got many errors. I guess it has to do with missing libraries or ...
Anas Zahra's user avatar
0 votes
1 answer
85 views

pandas dataframe index to html merged cell

I have a pandas dataframe like as below import pandas as pd data = { 'A': [1, 1, 2, 2, 3], 'B': [10, 10, 20, 20, 30], 'C': [100, 101, 200, 201, 300], 'D': ['X', 'X', 'Y', 'Y', 'Z'], ...
The Great's user avatar
  • 7,511
0 votes
1 answer
47 views

Save user position on a HTML file when reloading

For the context, I am working on Python, on a Jupyter Notebook. Periodically I update values of a HTML file. To be able to experience live results, I have a Javascript code encapsulated in my Python ...
ImFabien75's user avatar
1 vote
0 answers
60 views

Pandas read_html: keep cell content format as html

I have a Word document with multiple tables. I'm converting it to html format and read it with pandas: tables = pd.read_html('report.htm') But the text in cells has subscripts, superscripts and ...
Michael's user avatar
  • 5,257
0 votes
0 answers
46 views

Unable to deploy my Jupyter Notebook to Medium as a post

I am trying to publish a Jupyter Notebook as a medium blog, I installed all the necessary libraries, then I put in my integration token too, and every other detail, including the correct file path ...
Olumide Olaoye's user avatar
1 vote
0 answers
154 views

Streamlit: How to when pressing dataframe cell, show image?

I'm using Streamlit. And currently I have a dataframe in HTML form. In my dataframe players, I have a column called Player. And my goal is to when pressing each players['Player'], the dataframe closes,...
Pedro Leite's user avatar
0 votes
2 answers
50 views

Conditional coloring of rows in df.to_html() table

I am trying to change color of text in the rows of a table created using df.to_html() Condition is if text "Critical" exists in a column then whole row's text should be Red colored. Sample ...
Pranav101py's user avatar
0 votes
1 answer
26 views

pd.read_html mangles a table header, and adds the entire content of an inner table in the top cell

This is a minimal example of a webpage that pandas is mangling. <table> <tbody> <tr> <th> <div> <span>...
vish's user avatar
  • 1,046
1 vote
0 answers
104 views

scraping content from confluence

With the help of atlassian api, i managed to get the content stored inside the table on the confluence page and write into a dataframe. Finally i load that into a json file. output looks like below &...
Saravana Kumar's user avatar
0 votes
0 answers
47 views

Generating separate html files from two dataframes for each single row

I have dataframes like below and they always share same first two columns which are unique combination. I want to compose html files for all rows which would contained only one row from two data ...
refokaj's user avatar
  • 17
0 votes
1 answer
191 views

How do I display JSON data in HTML using Py-script and Pandas?

I'm working on this small project using JSON for the first time. This is also the first time I got back into programming in a while, so I'm a little rusty. Anyways, I've been trying to get Python to ...
billysgotsomequestions's user avatar
-1 votes
1 answer
60 views

Web scraping values inside of <div>

I'm new to python and web scraping, and recently I'm facing a real challenge (at least for me hahahah) I have this table in which every value is stored in a with this configuration: <div row="...
GPierrotti's user avatar
-1 votes
2 answers
129 views

pandas.read_html -- one table over multiple pages

I encountered the following problem scraping the https://nuforc.org/subndx/?id=all URL, which contains a long list of pages (1497) with a 100-line table for each page. I used the following Python code ...
Emilio Mastriani's user avatar
0 votes
0 answers
76 views

HTML page with graphs and charts through PYTHON

I am attaching my code below, I want to majorly create a HTML based output page with graphs and tables formatted perfectly, but I am facing issue that the HTML page does not have any image when I load ...
Shivani's user avatar
1 vote
1 answer
102 views

How to scrape Star Rating from Etsy HTML with Python?

I can not find a way to extract the star rating from each product from the Etsy source code. This is the code I've used to extract the description, price, number of reviews from a set of text files ...
Santiago V's user avatar

15 30 50 per page
1
2 3 4 5
52