Docstring
()
| 1065 | |
| 1066 | @_print_source |
| 1067 | def chart_second_axis(): |
| 1068 | """ |
| 1069 | Docstring |
| 1070 | """ |
| 1071 | import chartify |
| 1072 | |
| 1073 | # Generate example data |
| 1074 | data = chartify.examples.example_data() |
| 1075 | |
| 1076 | # Sum price grouped by date |
| 1077 | price_by_date = data.groupby("date")["total_price"].sum().reset_index() # Move 'date' from index to column |
| 1078 | price_by_date["triple_total_price"] = price_by_date["total_price"] * 3 |
| 1079 | price_by_date = price_by_date.sort_values("date") |
| 1080 | print(price_by_date.head()) |
| 1081 | """Print break""" |
| 1082 | _second_axis_example(price_by_date) |
| 1083 | |
| 1084 | |
| 1085 | @_print_source |
nothing calls this directly
no test coverage detected