pandas is a Python data analysis library.
10
votes
1answer
94 views
Simplifying Python Pandas code for selecting co-occurrences in a window of time
I am a beginner at programming. I was able to build the thing below, which achieves what I want with a small dataset. With larger datasets, my RAM gets swamped bringing the computer to a halt (2014 ...
0
votes
0answers
26 views
optimising python code for visualization waves
solution, i make it few weeks ago, but lost forgotten. any advice how to make code more optimal would be great!
file:
A_DATA_time_space.py
...
1
vote
0answers
108 views
Parse Bloomberg Excel/CSV with Pandas DataFrame
First, please pardon my ignorance. This is my very first Python program.
I retrieved Bloomberg data using the Excel API. In the typical fashion, the first row contains tickers in every fourth ...
3
votes
1answer
369 views
More efficient way to work with pandas dataframes for stock backtesting exercise?
I'm attempting to apply a long set of conditions and operations onto a pandas dataframe (see the dataframe below with VTI, upper, lower, etc). I attempted to use apply, but I was having a lot of ...