上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 101 下一页
摘要: A year is leap year if following conditions are satisfied: Year is multiple of 400. Year is multiple of 4 and not multiple of 100. Approach: Get the v 阅读全文
posted @ 2023-06-26 10:20 Oops!# 阅读(13) 评论(0) 推荐(0)
摘要: Example #1: Use Series.str.contains a () function to find if a pattern is present in the strings of the underlying data in the given series object. Py 阅读全文
posted @ 2023-06-20 09:18 Oops!# 阅读(261) 评论(0) 推荐(0)
摘要: In this article, we will discuss how to loop or Iterate overall or certain columns of a DataFrame? There are various methods to achieve this task.Let’ 阅读全文
posted @ 2023-06-20 09:07 Oops!# 阅读(26) 评论(0) 推荐(0)
摘要: 为了保存来自pandas dataframe的csv文件,我尝试了以下方法: res.to_csv('seq_test.fa',header= False, index= False, sep = '\t', quoting = csv.QUOTE_NONE) 复制 这给出了以下错误:need to 阅读全文
posted @ 2023-06-20 08:49 Oops!# 阅读(339) 评论(0) 推荐(0)
摘要: 很多时候我们需要使用telnet命令,ping端口通不通,所以得先安装下系统自带的telnet工具。 telnet工具日常还是非常好用的。 如果未安装则会提示: 'telnet' 不是内部或外部命令,也不是可运行的程序或批处理文件。 下面介绍两种方式,一个是老的操作方式,在"控制面板"中安装,另一个 阅读全文
posted @ 2023-06-15 08:51 Oops!# 阅读(4878) 评论(0) 推荐(0)
摘要: 1. npm安装 下载node.js: nodejs.org/en/download… 命令行下输入: npm -v 验证是否安装成功。 2. cnpm安装 安装命令: npm install -g cnpm --registry=https://registry.npm.taobao.org 命令 阅读全文
posted @ 2023-06-12 13:59 Oops!# 阅读(181) 评论(0) 推荐(0)
摘要: REST framework中的序列化类与Django的Form和ModelForm类非常相似。我们提供了一个Serializer类,它提供了一种强大的通用方法来控制响应的输出,以及一个ModelSerializer类,它为创建处理模型实例和查询集的序列化提供了有效的快捷方式。 Serializer 阅读全文
posted @ 2023-06-12 09:57 Oops!# 阅读(41) 评论(0) 推荐(0)
摘要: Image by author It’s the day before my fast API live stream. I decided to create a guide for the stream and turn it into a blog post. So, here it is. 阅读全文
posted @ 2023-06-10 18:05 Oops!# 阅读(33) 评论(0) 推荐(0)
摘要: 1、在settings.py文件中配置数据库 ,需要提前创建好库,并注册app【python manage.py startapp login 提前创建一个名为"login "的app应用】 2、在login文件夹的models.py中创建一个User表 3. 安装pymysql pip insta 阅读全文
posted @ 2023-06-09 16:41 Oops!# 阅读(133) 评论(0) 推荐(0)
摘要: Some functions are hard as well as boring to code each and every time. But Django users don’t have to worry about that because Django has some awesome 阅读全文
posted @ 2023-06-08 14:42 Oops!# 阅读(33) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 101 下一页