python
barnetlee
这个作者很懒,什么都没留下…
展开
-
[Python奇技淫巧专栏]--print输出
先占坑 1.如何让 print 不换行 在Python中总是默认换行的 但在 3.x 中这样不起任何作用 要想换行你应该写成 print(x,end = '' ) >>> for x in range(0,10): print (x,end = '') 0123456789 ...原创 2018-08-08 17:28:17 · 685 阅读 · 0 评论 -
Python关于%matplotlib inline
我在做一个比赛需要使用到LSTM模型对时间序列进行预测,然后在github代码中经常会看到这样的代码: import numpy import matplotlib.pyplot as plt from pandas import read_csv import math from keras.models import Sequential from keras.layers import ...转载 2019-10-10 14:26:12 · 196 阅读 · 0 评论