Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Strings, Values, Letters
- Made up data, 55.0, A
- with long text strings for index, 125.5, B
- with long text strings for index, 85.5, B
- how does one, 1.3, A
- how does one, 12.3, A
- change the plot area to, 96.1, B
- fit all of this text in?, 0.2, B
- fit all of this text in?, 47.2, B
- c=pd.read_csv('myfile.csv')
- Strings Values Letters
- 0 Made up data 55.0 A
- 1 with long text strings for index 125.5 B
- 2 with long text strings for index 85.5 B
- 3 how does one 1.3 A
- 4 how does one 12.3 A
- 5 change the plot area to 96.1 B
- 6 fit all of this text in? 0.2 B
- 7 fit all of this text in? 47.2 B
- g=c.groupby(u'Strings').sum()
- Values
- Strings
- Made up data 55.0
- change the plot area to 96.1
- fit all of this text in? 47.4
- how does one 13.6
- with long text strings for index 211.0
- g.plot(kind='bar')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement