Re: pandas split and melt()

2019-06-25 Thread Sayth Renshaw
> > NB. There are varied amounts of consultants so splitting across columns is > > uneven. if it was even melt seems like it would be good > > https://dfrieds.com/data-analysis/melt-unpivot-python-pandas > > Keep it simple: https://docs.python.org/3.6/library/string.html > > -- > Regards =dn

Re: pandas split and melt()

2019-06-25 Thread DL Neil
On 26/06/19 6:13 PM, Sayth Renshaw wrote: Hi Having fun with pandas filtering a work excel file. My current script opens selected and filters the data and saves as excel. ... This leaves me with a set of several columns. The main column of concern for this example is a consultant Session date

pandas split and melt()

2019-06-25 Thread Sayth Renshaw
Hi Having fun with pandas filtering a work excel file. My current script opens selected and filters the data and saves as excel. import pandas as pd import numpy as np log = pd.read_excel("log_dump_py.xlsx") df = log.filter(items=['Completed', 'Priority', 'Session date', 'Consultant', 'Coach',

Re: Understand workflow about reading and writing files in Python

2019-06-25 Thread DL Neil
On 25/06/19 11:50 AM, Windson Yang wrote: DL Neil > 于2019年6月24日周一 上午11:18写道: Yes, better to reply to list - others may 'jump in'... On 20/06/19 5:37 PM, Windson Yang wrote: > Thank you so much for you review DL Neil, it really helps :D. Howe

About Messages on Installs

2019-06-25 Thread Eray Erdin
Greetings, dear community members, I sometimes use npm and, in the installation process, some packages throw messages regarding to warnings or info/survey URLs. I wish to use something similar in a package I maintain. Is it possible to print some data to users' terminal in the installation proces