num_rows 不显示值

create table t1(id int,name varchar(20));

insert into t1 values(1,'tom');

SQL> select num_rows,table_name from user_tables;

  NUM_ROWS TABLE_NAME
---------- ------------------------------
           T1
//收集一下统计信息,就可以看到了
SQL> CALL DBMS_STATS.GATHER_TABLE_STATS ('AAA','T1');

SQL> select num_rows,table_name from user_tables;

  NUM_ROWS TABLE_NAME
---------- ------------------------------
         1 T1

 

转载于:https://www.cnblogs.com/kaka100/p/3624032.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
plt.rcParams['font.sans-serif']=['Arial Unicode MS'] #显示中文字体,这段代码我可是找了好长时间 plt.rcParams['axes.unicode_minus']=False def plot_image(i, predictions_array, true_labels, images): predictions_array, true_label, img = predictions_array[i], true_labels[i], images[i] plt.grid(False) plt.xticks([]) plt.yticks([]) plt.grid(False) # 显示照片,以cm 为单位。 plt.imshow(images[i], cmap=plt.cm.binary) # 预测的图片是否正确,黑色底表示预测正确,红色底表示预测失败 predicted_label = np.argmax(prediction[i]) true_label = y_test[i][0] if predicted_label == true_label: color = 'black' else: color = 'red' # plt.xlabel("{} ({})".format(class_names[predicted_label], # class_names[true_label]), # color=color) plt.xlabel("预测{:2.0f}%是{}(实际{})".format(100*np.max(predictions_array), class_names[predicted_label], class_names[true_label]), color=color) def plot_value_array(i, predictions_array, true_label): predictions_array, true_label = predictions_array[i], true_label[i][0] plt.grid(False) plt.xticks(range(10)) plt.yticks([]) thisplot = plt.bar(range(10), predictions_array, color="#777777") plt.ylim([0, 1]) predicted_label = np.argmax(predictions_array) thisplot[predicted_label].set_color('red') thisplot[true_label].set_color('blue') num_rows = 5 num_cols = 3 num_images = num_rows*num_cols plt.figure(figsize=(2*2*num_cols, 2*num_rows)) for i in range(num_images): plt.subplot(num_rows, 2*num_cols, 2*i+1) plot_image(i, prediction, y_test, x_test) plt.subplot(num_rows, 2*num_cols, 2*i+2) plot_value_array(i, prediction, y_test)解释如下代码
最新发布
06-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值