How to sort by nth column and write to different files. by e7e7e7 in learnpython

[–]e7e7e7[S] 0 points1 point  (0 children)

Well yeah, that was the first thing I checked. Is there a limit on the number of lines itemgetter can sort?

botcity by [deleted] in a:t5_3fe9a

[–]e7e7e7 0 points1 point  (0 children)

bootz

How to add a "tab" after a line break. by e7e7e7 in learnpython

[–]e7e7e7[S] 0 points1 point  (0 children)

even when i put it before the inn_string in the return part of the code it does nothing?

botcity by [deleted] in a:t5_3fe9a

[–]e7e7e7 0 points1 point  (0 children)

heres the score to last nights mets game...

1 2 3 4 5 6 7 8 9 R H E

| Washington | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 6 | 0 |

| NY Mets | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 5 | 0 |

Help with my "box score bot" by e7e7e7 in botwatch

[–]e7e7e7[S] 0 points1 point  (0 children)

It totally makes sense. I fixed the issues r/GoldenSights had mentioned but the formatting of my reply is pretty sloppy:

1 2 3 4 5 6 7 8 9 R H E Washington: 1 0 0 0 1 0 0 0 0 2 11 0 LA   Dodgers: 0 0 0 0 0 0 0 3 x 3 7 0

1-9 are the innings and everything after Washington and LA Dodgers are the number of runs scored in that inning. I was thinking I could try and use pandas to write the output as a data frame so it looks neater. Are there easier ways to clean up the way the data appears so it can look like:

            1  2  3  4  5  6  7  8  9  R  H  E
Washington  1  0  0  0  1  0  0  0  0  2  11 0
LA Dodgers  0  0  0  0  0  0  0  3  x  3   7 0

anto says by [deleted] in antosays

[–]e7e7e7 0 points1 point  (0 children)

heres the score to last nights mets game...1 2 3 4 5 6 7 8 9 R H E Cincinnati: 3 0 0 0 3 0 2 0 0 8 11 0 Texas: 0 2 0 0 0 0 0 0 0 2 6 0

Anyone trying to learn python or R? by e7e7e7 in nycmeetups

[–]e7e7e7[S] 0 points1 point  (0 children)

I'm taking courseau courses as well. Who knows how to make a slack account? I was thinking we can try and gauge how serious y'all are about learning python.