Bare with me, relatively new to playing with python, I'm trying to backwards engineer an object so that I can recreate it slightly differently. I'm trying to understand what creates this structure.
The object in the code I'm working with is called
So... if I type
I get the following results:
What kind of object returns multiple objects?
Added points for how do I make one?
I am working with a pandas dataframe iterating through the columns and outputting them to series. I need all of those series as one (nested?) object matching what I'm seeing in
The object in the code I'm working with is called
s
So... if I type
1 |
print type (s) |
Output:<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
<class 'pandas.core.series.Series'>
What is this? it isn't a list... it isn't a tuple... What kind of object returns multiple objects?
Added points for how do I make one?
I am working with a pandas dataframe iterating through the columns and outputting them to series. I need all of those series as one (nested?) object matching what I'm seeing in
s