Text example
()
| 217 | |
| 218 | @_print_source |
| 219 | def plot_text(): |
| 220 | """ |
| 221 | Text example |
| 222 | """ |
| 223 | import chartify |
| 224 | |
| 225 | data = chartify.examples.example_data() |
| 226 | |
| 227 | # Manipulate the data |
| 228 | price_and_quantity_by_country = data.groupby("country")[["total_price", "quantity"]].sum().reset_index() |
| 229 | print(price_and_quantity_by_country.head()) |
| 230 | """Print break""" |
| 231 | _text_example_1(price_and_quantity_by_country) |
| 232 | |
| 233 | |
| 234 | @_print_source |
nothing calls this directly
no test coverage detected