自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 【无标题】python类对向

class Rectangle(): length=3.5 width=5 def getRect(self): print('这个矩形的长是:%.2f,宽是:%.2f' % (self.length,self.width)) def setRect(self): print('请输入矩形的长和宽...') self.length = float(input('长: ')) self.widt.

2022-03-14 18:32:46 569

原创 python绘图

# 导入相关的包import matplotlib.pyplot as plt #画图用到的包import numpy as np #数值计算的包import pandas as pd #文件操作、字符串操作等包import os #系统操作的包import warningswarnings.filterwarnings('ignore')# 让matplotlib的图表在jupyternotebook中.

2021-06-26 10:56:45 511 2

原创 python解决线性代数问题

###转置import numpy as npimport pandas as pda=np.array([[1,2,3],[4,5,6],[7,8,9]])b=np.array([[1,2,1],[4,5,3],[8,1,6]])print(a)print(a.T)#A的转置print(a.T.T)#A的转置的转置还是A本身[[1 2 3] [4 5 6] [7 8 9]][[1 4 7] [2 5 8] [3 6 9]][[1 2 3] [4 5 6] [7 8 9.

2021-06-23 15:56:25 903 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除