摘要: import tensorflow as tf#发起会话sess = tf.Session()#两行都可以执行 具体意思见下方注释A = tf.Variable(tf.truncated_normal([2,3],0,1,dtype=tf.float32,se... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(28) 评论(0) 推荐(0)
摘要: zip 就是zip函数接受任意多个(包括0个和1个)序列作为参数,返回一个tuple列表 x = [1, 2, 3]y = [4, ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(29) 评论(0) 推荐(0)
摘要: zip 就是zip函数接受任意多个(包括0个和1个)序列作为参数,返回一个tuple列表 x = [1, 2, 3]y = [4, ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(22) 评论(0) 推荐(0)
摘要: 建立数组 x=list(range(11))xOut[16]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(89) 评论(0) 推荐(0)
摘要: 建立数组 x=list(range(11))xOut[16]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(49) 评论(0) 推荐(0)
摘要: 建立Series from pandas import Series,DataFrameimport numpy as np... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(60) 评论(0) 推荐(0)
摘要: 建立Series from pandas import Series,DataFrameimport numpy as np... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(44) 评论(0) 推荐(0)
摘要: 1.0 删除Series项 from pandas import Series,DataFrameimport numpy as ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(38) 评论(0) 推荐(0)
摘要: 1.0 删除Series项 from pandas import Series,DataFrameimport numpy as ... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(36) 评论(0) 推荐(0)
摘要: 构造DataFrame from pandas import Series,DataFrameimport numpy as... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(37) 评论(0) 推荐(0)