Issues with dataframe shapes in creating a seismogram using Python
I have been trying to create a seismogram for quite a while but keep running into bugs. I was successful in creating a seismogram for a set of small data, but am now working with a larger set and seem to be running into issues with keeping time consistent with data (dropping NaNs while moving through data) and ignoring shapes of dataframes… the goal is to have this code be usable for different sizes of dataframes.
Startrow as a variable in Dataframe
I am trying to set the startrow of a df.to_excel() as a variable.
Calculations of python code not returning expected results
data is dataframe having columns Close, ph, slope_ph and upper
how to change this code from printing my output to writing it into a datafrmae
i am printing my output as a windows of 500 milliseconds time open high low close vol instead of that i want to a create a data frame with headers time open high low close vol and store all data from every iteration. what changes should i make
Shape of passed values is (3, 2), indices imply (6, 2)
Quiero sacar el valor de chi cuadrado y el valor p,
how to get value from polars DataFrame
from sum(), I need value of sum().I could get it by this, but more better way?
1: make dataframe column to series,
2: change it to list,
3: get value from list