Matplotlib plot is a no-show

后端 未结 3 1939
广开言路
广开言路 2020-12-13 08:45

When I run this code

import pandas as pd
import numpy as np
def add_prop(group):
    births = group.births.astype(float)
    group[\'prop\'] = births/births.         


        
3条回答
  •  借酒劲吻你
    2020-12-13 09:01

    In the IPython notebook you could also use %matplotlib inline at the top of the notebook to automatically display the created plots in the output cells.

提交回复
热议问题