我只想知道这是否可能?在离子网格上添加广告?顺便说一句,我有一个admob代码,它运作良好。我只想添加另一个视频,然后将其放在离子网格上。 这是我的代码。
df=pd.read_csv('demo.csv', encoding="latin-1", infer_datetime_format=True, parse_dates=['date'], skipinitialspace=True)
pv = pd.pivot_table(df, index=['date'], values=['enrolled'], aggfunc=sum, fill_value=0)
df["date"]=pd.to_datetime(df['date']) # Converts date to datetime dtype
df["enrolled"]=pd.to_numeric(df['enrolled'], errors='coerce').fillna(0) # Converts float to numeric adding zero to empty cells
dfb.enrolled.round(0).astype(np.int64) # Converts Float to int
trace1 = go.Scatter(x=pv.index, y=pv[('enrolled')], name='Enrolled')
trace2 = go.Bar(x=pv.index, y=pv.values == 0, name='No Criteria')
trace3 = go.Scatter(x=pv.index, y=pv.values == 2, name='Rejected')