Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread boB Stepp
On Sat, Sep 21, 2019 at 9:01 PM Michael Torrie wrote: > > On 9/21/19 12:51 PM, Dave Martin wrote: > > You seem to have the expectation that you know more about coding than > > me and that you can insult me without me retaliating. If I were you, > > I would leave this forum and never respond to ano

Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread Michael Torrie
On 9/21/19 12:51 PM, Dave Martin wrote: > You seem to have the expectation that you know more about coding than > me and that you can insult me without me retaliating. If I were you, > I would leave this forum and never respond to another person question > again, if you think that you can rudely ra

Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread Chris Angelico
On Sun, Sep 22, 2019 at 4:56 AM Dave Martin wrote: > > On Saturday, September 21, 2019 at 2:46:15 PM UTC-4, boB Stepp wrote: > > On Sat, Sep 21, 2019 at 1:01 PM Dave Martin wrote: > > > > > > On Saturday, September 21, 2019 at 1:33:12 PM UTC-4, Terry Reedy wrote: > > > > On 9/21/2019 11:53 AM, Da

Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread Mirko via Python-list
Am 21.09.2019 um 19:57 schrieb Dave Martin: > Can you provide an example of how to use the suite feature. Thank you. > There is no suite feature, Terry just tried to explain indented blocks to you in simple words. Really, indented blocks are one of the most basic aspects of Python. You *need* t

Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread Dave Martin
On Saturday, September 21, 2019 at 2:46:15 PM UTC-4, boB Stepp wrote: > On Sat, Sep 21, 2019 at 1:01 PM Dave Martin wrote: > > > > On Saturday, September 21, 2019 at 1:33:12 PM UTC-4, Terry Reedy wrote: > > > On 9/21/2019 11:53 AM, Dave Martin wrote: > [...] > > > > #get the combined data and load

Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread boB Stepp
On Sat, Sep 21, 2019 at 1:01 PM Dave Martin wrote: > > On Saturday, September 21, 2019 at 1:33:12 PM UTC-4, Terry Reedy wrote: > > On 9/21/2019 11:53 AM, Dave Martin wrote: [...] > > > #get the combined data and load the fits files > > > > > > fits_filename="Gaia_DR2/gaiadr2_100pc.fits" > > > df=p

Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread Dave Martin
On Saturday, September 21, 2019 at 1:33:12 PM UTC-4, Terry Reedy wrote: > On 9/21/2019 11:53 AM, Dave Martin wrote: > > > > # starAbsMags=df['radial_velocity'] > > > > #GaiaPandasEscapeVelocityCode > > > > import pandas as pd > > import numpy as np > > from astropy.io import fits > > import astr

Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread Terry Reedy
On 9/21/2019 11:53 AM, Dave Martin wrote: # starAbsMags=df['radial_velocity'] #GaiaPandasEscapeVelocityCode import pandas as pd import numpy as np from astropy.io import fits import astropy import matplotlib.pyplot as plt #get the combined data and load the fits files fits_filename="Gaia_DR

Python shows error on line 15 that i cant fix

2019-09-21 Thread Dave Martin
# starAbsMags=df['radial_velocity'] #GaiaPandasEscapeVelocityCode import pandas as pd import numpy as np from astropy.io import fits import astropy import matplotlib.pyplot as plt #get the combined data and load the fits files fits_filename="Gaia_DR2/gaiadr2_100pc.fits" df=pd.DataFrame() wit