Last answered:

28 Jan 2022

Posted on:

28 Jan 2022

0

Resolved: NameError: name 'df_spx_ftsee_H2_08' is not defined

as shown in capture below
what seems to be the problem?
i double checked the code

image.png

1 answers ( 1 marked as helpful)
Posted on:

28 Jan 2022

2

i have changed the code to be **df_spx_ftse_H2_08 = df_spx_ftsee_00_10[(df_spx_ftsee_00_10["new_date"] >= '2008-07-01') &
                                        (df_spx_ftsee_00_10["new_date"] <= '2008-12-31')]**
worked just fine.
image.png

Submit an answer