-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question - How to read color object in a cell but not color itself #112
Comments
The first step, even before trying to deal with the colors, is to make sure that we can read the sheet correctly without losing the complex format, which I suspect is not the case.
import pandas as pd
pd.read_excel('DUMMY_DATA_TEST.xlsx').to_excel('output.xlsx') When we open I previously had a go at adding support for reading sheets with merged cells (see #76). Can you confirm if that workaround works in your case? |
@DeepSpace2 - I am unable to install using the below command - |
Are you getting an error? |
@DeepSpace2 - Yes, I do get an error. Sorry, am not a software developer. hence i might be doing something incorrect as well |
This issue has been automatically marked as stale because it has not had activity in the last 60 days. |
Hi, I am new to StyleFrame and currently using python 3.7, pandas 1.3.4, and openpyxl 3.0.9
I am currently encountering a scenario where my excel cell has colored object (circles) but the cell itself is not colored. I have attached a sample file with data
DUMMY_DATA_TEST.xlsx
each color has a score. ex: red color = 0, green color = 90 and Tacao = 50
So, for each row, I would like to compute the average score and store it in a new column.
For instance,
1st row contains 4 green, 4 red, 2 tacao
2nd row contains 2 green, 3 red, 3 tacao
based on the score for each color,
1st row average = 46
2nd row average = 41.25
As a first step, I tried the below to read the excel using styleframe
but the issue is it doesn't get read properly.
Is there any suggestion that you have on whether it can be achieved using styleframe?
If you are interested to know what I am trying to achieve, it is given below
The text was updated successfully, but these errors were encountered: