Goal:
I'm creating charts for 2-d data with different lengths using Pandas. I need to create a new serie for each table. Data structure is like;
|---------------------|------------------|
| A | 4 |
|---------------------|------------------|
| B | 34 |
|---------------------|------------------|
When I know how many lines will return from data source I can create Pandas series like;
raw_serie = pd.Series([raw_data['A'], raw_data['B']], index=['A', 'B'], name='')
Problem:
What if different lengts of data returns from the data source ? How can I create dynamic Pandas series for diffent row lengths automatically ?