@property<EOL><INDENT>def dataframe(self):<DEDENT>
fields_to_include = {<EOL>'<STR_LIT>': self.abbreviation,<EOL>'<STR_LIT>': self.at_bats,<EOL>'<STR_LIT>': self.average_batter_age,<EOL>'<STR_LIT>': self.average_pitcher_age,<EOL>'<STR_LIT>': self.away_losses,<EOL>'<STR_LIT>': self.away_record,<EOL>'<STR_LIT>': self.away_wins,<EOL>'<STR_LIT>': self.balks,<EOL>'<STR_LIT>': self.bases_on_balls,<EOL>'<STR_LIT>': self.bases_on_walks_given,<EOL>'<STR_LIT>':<EOL>self.bases_on_walks_given_per_nine_innings,<EOL>'<STR_LIT>': self.batters_faced,<EOL>'<STR_LIT>': self.batting_average,<EOL>'<STR_LIT>': self.complete_game_shutouts,<EOL>'<STR_LIT>': self.complete_games,<EOL>'<STR_LIT>': self.doubles,<EOL>'<STR_LIT>': self.earned_runs_against,<EOL>'<STR_LIT>': self.earned_runs_against_plus,<EOL>'<STR_LIT>': self.extra_inning_losses,<EOL>'<STR_LIT>': self.extra_inning_record,<EOL>'<STR_LIT>': self.extra_inning_wins,<EOL>'<STR_LIT>':<EOL>self.fielding_independent_pitching,<EOL>'<STR_LIT>': self.games,<EOL>'<STR_LIT>': self.games_finished,<EOL>'<STR_LIT>': self.grounded_into_double_plays,<EOL>'<STR_LIT>': self.hit_pitcher,<EOL>'<STR_LIT>': self.hits,<EOL>'<STR_LIT>': self.hits_allowed,<EOL>'<STR_LIT>': self.hits_per_nine_innings,<EOL>'<STR_LIT>': self.home_losses,<EOL>'<STR_LIT>': self.home_record,<EOL>'<STR_LIT>': self.home_runs,<EOL>'<STR_LIT>': self.home_runs_against,<EOL>'<STR_LIT>': self.home_runs_per_nine_innings,<EOL>'<STR_LIT>': self.home_wins,<EOL>'<STR_LIT>': self.innings_pitched,<EOL>'<STR_LIT>': self.intentional_bases_on_balls,<EOL>'<STR_LIT>': self.interleague_record,<EOL>'<STR_LIT>': self.last_ten_games_record,<EOL>'<STR_LIT>': self.last_thirty_games_record,<EOL>'<STR_LIT>': self.last_twenty_games_record,<EOL>'<STR_LIT>': self.league,<EOL>'<STR_LIT>': self.losses,<EOL>'<STR_LIT>': self.losses_last_ten_games,<EOL>'<STR_LIT>': self.losses_last_thirty_games,<EOL>'<STR_LIT>': self.losses_last_twenty_games,<EOL>'<STR_LIT>':<EOL>self.losses_vs_left_handed_pitchers,<EOL>'<STR_LIT>':<EOL>self.losses_vs_right_handed_pitchers,<EOL>'<STR_LIT>': self.losses_vs_teams_over_500,<EOL>'<STR_LIT>': self.losses_vs_teams_under_500,<EOL>'<STR_LIT>': self.luck,<EOL>'<STR_LIT:name>': self.name,<EOL>'<STR_LIT>': self.number_of_pitchers,<EOL>'<STR_LIT>': self.number_players_used,<EOL>'<STR_LIT>': self.on_base_percentage,<EOL>'<STR_LIT>':<EOL>self.on_base_plus_slugging_percentage,<EOL>'<STR_LIT>':<EOL>self.on_base_plus_slugging_percentage_plus,<EOL>'<STR_LIT>':<EOL>self.opposing_runners_left_on_base,<EOL>'<STR_LIT>': self.plate_appearances,<EOL>'<STR_LIT>': self.pythagorean_win_loss,<EOL>'<STR_LIT>': self.rank,<EOL>'<STR_LIT>':<EOL>self.record_vs_left_handed_pitchers,<EOL>'<STR_LIT>':<EOL>self.record_vs_right_handed_pitchers,<EOL>'<STR_LIT>': self.record_vs_teams_over_500,<EOL>'<STR_LIT>': self.record_vs_teams_under_500,<EOL>'<STR_LIT>': self.run_difference,<EOL>'<STR_LIT>': self.runners_left_on_base,<EOL>'<STR_LIT>': self.runs,<EOL>'<STR_LIT>': self.runs_against,<EOL>'<STR_LIT>': self.runs_allowed_per_game,<EOL>'<STR_LIT>': self.runs_batted_in,<EOL>'<STR_LIT>': self.sacrifice_flies,<EOL>'<STR_LIT>': self.sacrifice_hits,<EOL>'<STR_LIT>': self.saves,<EOL>'<STR_LIT>': self.shutouts,<EOL>'<STR_LIT>': self.simple_rating_system,<EOL>'<STR_LIT>': self.single_run_losses,<EOL>'<STR_LIT>': self.single_run_record,<EOL>'<STR_LIT>': self.single_run_wins,<EOL>'<STR_LIT>': self.slugging_percentage,<EOL>'<STR_LIT>': self.stolen_bases,<EOL>'<STR_LIT>': self.streak,<EOL>'<STR_LIT>': self.strength_of_schedule,<EOL>'<STR_LIT>': self.strikeouts,<EOL>'<STR_LIT>': self.strikeouts_per_base_on_balls,<EOL>'<STR_LIT>': self.strikeouts_per_nine_innings,<EOL>'<STR_LIT>': self.times_caught_stealing,<EOL>'<STR_LIT>': self.times_hit_by_pitch,<EOL>'<STR_LIT>': self.times_struck_out,<EOL>'<STR_LIT>': self.total_bases,<EOL>'<STR_LIT>': self.total_runs,<EOL>'<STR_LIT>': self.triples,<EOL>'<STR_LIT>': self.whip,<EOL>'<STR_LIT>': self.wild_pitches,<EOL>'<STR_LIT>': self.win_percentage,<EOL>'<STR_LIT>': self.wins,<EOL>'<STR_LIT>': self.wins_last_ten_games,<EOL>'<STR_LIT>': self.wins_last_thirty_games,<EOL>'<STR_LIT>': self.wins_last_twenty_games,<EOL>'<STR_LIT>': self.wins_vs_left_handed_pitchers,<EOL>'<STR_LIT>':<EOL>self.wins_vs_right_handed_pitchers,<EOL>'<STR_LIT>': self.wins_vs_teams_over_500,<EOL>'<STR_LIT>': self.wins_vs_teams_under_500<EOL>}<EOL>return pd.DataFrame([fields_to_include], index=[self._abbreviation])<EOL>
Returns a pandas DataFrame containing all other class properties and
values. The index for the DataFrame is the string abbreviation of the
team, such as 'HOU'.