On Apr 28, 2018 06:54, Glenn Schultz wrote:
>
> All,
>
> I have the following set-up (below) which will be used to call data from
> multiple sectors. There is a sql query (transact sql) and connection. This
> works fine. However, I would like to parametrize the query
All,
I have the following set-up (below) which will be used to call data from
multiple sectors. There is a sql query (transact sql) and connection. This
works fine. However, I would like to parametrize the query so I can enter
different sectors. I have checked through pyodbc and several
I’m working with two dataframes obtained from the infrared spectroscopy
analysis (yes, we’re scientists trying to work better using python).
The dataframes are as follows:
***DATA1:***
IRRAMAN CM-1
245.54 730.41 3538.10 s1 100
3.93 204.17 3237.13 s6 93
Dear tutor,
python3
pandas
The function below returns the maximum cost row of the df.
def maximum():
return [df.loc[df['cost'].idxmax()]]
maximum()
But I am only interested in specific column of the df.
How could I extract from the returned row of the df?
Thanks in advance.
Hi Peter Thank you much for your help its very appreciated ,bellow is an
example of what i need. The main dataframe ( need to be separated into
separate dataframes ). The desired dataframes output correctly as i need it to
be,Thanks much
Main dataframendx V_id Average Mean
Bachir Bachir wrote:
[Bachir, please send your mails to the list, not to me. That way you
increase the likelihood to get a good answer]
>> On Sunday, January 17, 2016 4:20 PM, Peter Otten <__pete...@web.de>
>> wrote:
>> Bachir Bachir via Tutor wrote:
>>> Hello EverybodyI need to sort a
Bachir Bachir via Tutor wrote:
> Hi Peter Thank you much for your help its very appreciated ,bellow is an
> example of what i need. The main dataframe ( need to be separated into
> separate dataframes ). The desired dataframes output correctly as i need
> it to be,Thanks much Main dataframendx
Hello EverybodyI need to sort a dataframe according to a specific column the
create new dataframes according to the sorted columns each new created
dataframe should contain the list(set('the sorted element)any help please , i
am new in python and pandas thanks muchBachir
Bachir Bachir via Tutor wrote:
> Hello EverybodyI need to sort a dataframe according to a specific column
> the create new dataframes according to the sorted columns each new created
> dataframe should contain the list(set('the sorted element)any help please
> , i am new in python and pandas
On 17/01/16 11:43, Bachir Bachir via Tutor wrote:
> i am new in python and pandas thanks muchBachir
Hi Bachir,
This list is for questions about core Python and its standard
library. Although pandas is part of some Python distributions
(eg anaconda) it's not really part of the standard library
10 matches
Mail list logo