Skip to content
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

creating an ipysheet from a pandas dataframe and passing display parameters #173

Open
joseberlines opened this issue Aug 17, 2020 · 0 comments

Comments

@joseberlines
Copy link

joseberlines commented Aug 17, 2020

It would be very convenient to be able to create an ipywidget from a pandas dataframe and at the same time pass the display options (width and height, and perhaps others)

in the documentation for:
https://ipysheet.readthedocs.io/en/latest/_modules/ipysheet/pandas_loader.html

the method to build the ipysheet gets a pandas dataframe, an idea might be:

def from_dataframe(dataframe, height=['auto'],width=['auto']):
if the coder add height list or width list they would apply to the ipysheet

error returned if (pseudocode)

len(width) != len(pandas.columns) or len(height) != len(pandas.rows)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant