Reputation: 2795
Let us consider a pandas DataFrame (df) like the one shown above.
How do I convert it to a pandas Series?
Upvotes: 0
Views: 4005
result = pd.Series(df['Count'])
Reputation: 62007
Just select the single column of your frame
df['Count']
Upvotes: 4