当前位置: 首页 > news >正文

Python酷库之旅-第三方库Pandas(123)

目录

一、用法精讲

546、pandas.DataFrame.ffill方法

546-1、语法

546-2、参数

546-3、功能

546-4、返回值

546-5、说明

546-6、用法

546-6-1、数据准备

546-6-2、代码示例

546-6-3、结果输出

547、pandas.DataFrame.fillna方法

547-1、语法

547-2、参数

547-3、功能

547-4、返回值

547-5、说明

547-6、用法

547-6-1、数据准备

547-6-2、代码示例

547-6-3、结果输出

548、pandas.DataFrame.interpolate方法

548-1、语法

548-2、参数

548-3、功能

548-4、返回值

548-5、说明

548-6、用法

548-6-1、数据准备

548-6-2、代码示例

548-6-3、结果输出

549、pandas.DataFrame.isna方法

549-1、语法

549-2、参数

549-3、功能

549-4、返回值

549-5、说明

549-6、用法

549-6-1、数据准备

549-6-2、代码示例

549-6-3、结果输出

550、pandas.DataFrame.isnull方法

550-1、语法

550-2、参数

550-3、功能

550-4、返回值

550-5、说明

550-6、用法

550-6-1、数据准备

550-6-2、代码示例

550-6-3、结果输出

二、推荐阅读

1、Python筑基之旅

2、Python函数之旅

3、Python算法之旅

4、Python魔法之旅

5、博客个人主页

一、用法精讲

546、pandas.DataFrame.ffill方法
546-1、语法
# 546、pandas.DataFrame.ffill方法
pandas.DataFrame.ffill(*, axis=None, inplace=False, limit=None, limit_area=None, downcast=_NoDefault.no_default)
Fill NA/NaN values by propagating the last valid observation to next valid.Parameters:
axis{0 or ‘index’} for Series, {0 or ‘index’, 1 or ‘columns’} for DataFrame
Axis along which to fill missing values. For Series this parameter is unused and defaults to 0.inplacebool, default False
If True, fill in-place. Note: this will modify any other views on this object (e.g., a no-copy slice for a column in a DataFrame).limitint, default None
If method is specified, this is the maximum number of consecutive NaN values to forward/backward fill. In other words, if there is a gap with more than this number of consecutive NaNs, it will only be partially filled. If method is not specified, this is the maximum number of entries along the entire axis where NaNs will be filled. Must be greater than 0 if not None.limit_area{None, ‘inside’, ‘outside’}, default None
If limit is specified, consecutive NaNs will be filled with this restriction.None: No fill restriction.‘inside’: Only fill NaNs surrounded by valid values (interpolate).‘outside’: Only fill NaNs outside valid values (extrapolate).New in version 2.2.0.downcastdict, default is None
A dict of item->dtype of what to downcast if possible, or the string ‘infer’ which will try to downcast to an appropriate equal type (e.g. float64 to int64 if possible).Deprecated since version 2.2.0.Returns:
Series/DataFrame or None
Object with missing values filled or None if inplace=True.
546-2、参数

546-2-1、axis(可选,默认值为None){0或'index',1或'columns'},确定填充操作的方向,0或'index'表示沿着行(向下填充),1或'columns'表示沿着列(向右填充),如果为None,则会根据轴的方向自动选择。

546-2-2、inplace(可选,默认值为False)布尔值,是否在原地修改DataFrame,如果为True,操作将在原始DataFrame上进行,而不会返回新的DataFrame;如果为False,则返回一个新的DataFrame,原始DataFrame不变。

546-2-3、limit(可选,默认值为None)整数,指定最大填充数量,填充过程将限制为最多填充limit个缺失值。

546-2-4、limit_area(可选,默认值为None)None或类似于DataFrame的对象,指定一个区域,该区域内的缺失值才会被填充,如果指定,将仅在这个区域内执行前向填充。

546-2-5、downcast(可选){'int', 'float', 'string', 'boolean'}或None,指定数据类型的向下转型,若指定此参数,则会尝试将数据转换为更小的数据类型,前提是数据类型允许。

546-3、功能

        用前一个有效值填充缺失值,在许多数据处理和分析应用中,缺失值是常见的问题,前向填充可以帮助将数据完整化,便于后续分析。

546-4、返回值

        返回值是一个填充后的DataFrame,如果inplace=True,则返回值为None,原始DataFrame被直接修改。

546-5、说明

        无

546-6、用法
546-6-1、数据准备
546-6-2、代码示例
# 546、pandas.DataFrame.ffill方法
import pandas as pd
import numpy as np
# 创建一个示例DataFrame
df = pd.DataFrame({'A': [1, np.nan, 3],'B': [np.nan, 2, np.nan],'C': [1, 2, 3]
})
# 使用前向填充
filled_df = df.ffill()
print(filled_df)
546-6-3、结果输出
# 546、pandas.DataFrame.ffill方法
#      A    B  C
# 0  1.0  NaN  1
# 1  1.0  2.0  2
# 2  3.0  2.0  3
547、pandas.DataFrame.fillna方法
547-1、语法
# 547、pandas.DataFrame.fillna方法
pandas.DataFrame.fillna(value=None, *, method=None, axis=None, inplace=False, limit=None, downcast=_NoDefault.no_default)
Fill NA/NaN values using the specified method.Parameters:
valuescalar, dict, Series, or DataFrame
Value to use to fill holes (e.g. 0), alternately a dict/Series/DataFrame of values specifying which value to use for each index (for a Series) or column (for a DataFrame). Values not in the dict/Series/DataFrame will not be filled. This value cannot be a list.method{‘backfill’, ‘bfill’, ‘ffill’, None}, default None
Method to use for filling holes in reindexed Series:ffill: propagate last valid observation forward to next valid.backfill / bfill: use next valid observation to fill gap.Deprecated since version 2.1.0: Use ffill or bfill instead.axis{0 or ‘index’} for Series, {0 or ‘index’, 1 or ‘columns’} for DataFrame
Axis along which to fill missing values. For Series this parameter is unused and defaults to 0.inplacebool, default False
If True, fill in-place. Note: this will modify any other views on this object (e.g., a no-copy slice for a column in a DataFrame).limitint, default None
If method is specified, this is the maximum number of consecutive NaN values to forward/backward fill. In other words, if there is a gap with more than this number of consecutive NaNs, it will only be partially filled. If method is not specified, this is the maximum number of entries along the entire axis where NaNs will be filled. Must be greater than 0 if not None.downcastdict, default is None
A dict of item->dtype of what to downcast if possible, or the string ‘infer’ which will try to downcast to an appropriate equal type (e.g. float64 to int64 if possible).Deprecated since version 2.2.0.Returns:
Series/DataFrame or None
Object with missing values filled or None if inplace=True.
547-2、参数

547-2-1、value(可选,默认值为None)scalar, dict, Series或 DataFrame,指定填充缺失值的值,可以是单个值、一组值(字典或Series)或另一个DataFrame,如果为None,则需要同时指定method。

547-2-2、method(可选,默认值为None){'backfill','bfill','pad','ffill'},用于指定填充缺失值的方法:

  • pad或ffill:前向填充,使用前一个有效值填充。
  • backfill或bfill:后向填充,使用后一个有效值填充。

547-2-3、axis(可选,默认值为None){0或'index',1或'columns'},确定填充操作的方向,0或'index'表示沿着行(纵向填充),1或'columns'表示沿着列(横向填充),如果为None,则根据数据的形状自动选择。

547-2-4、inplace(可选,默认值为False)布尔值,是否在原地修改DataFrame,如果为True,填充将在原始DataFrame上完成,并返回None;如果为False,则返回一个新的DataFrame,原始DataFrame保持不变。

547-2-5、limit(可选,默认值为None)整数,指定在填充操作中最多填充的缺失值数量,这适用于前向或后向填充方法。

547-2-6、downcast(可选){'int','float','string','boolean'}或None,指定数据类型的向下转型,若是否将填充后的数据转换为更小的数据类型,前提是数据类型允许。

547-3、功能

        用指定的值或方法替代缺失值,在数据处理中,缺失值常常需要被合理填充,以便进一步分析和建模。

547-4、返回值

        返回值是一个填充后的DataFrame,如果inplace=True,则返回值为None,原始DataFrame会被直接修改。

547-5、说明

        无

547-6、用法
547-6-1、数据准备
547-6-2、代码示例
# 547、pandas.DataFrame.fillna方法
import pandas as pd
import numpy as np
# 创建一个示例DataFrame
df = pd.DataFrame({'A': [1, np.nan, 3],'B': [np.nan, 2, np.nan],'C': [1, 2, 3]
})
# 使用填充指定值
filled_df1 = df.fillna(value=0)
# 使用前向填充
filled_df2 = df.fillna(method='ffill')
print("使用指定值填充:")
print(filled_df1)
print("\n使用前向填充:")
print(filled_df2)
547-6-3、结果输出
# 547、pandas.DataFrame.fillna方法
# 使用指定值填充:
#      A    B  C
# 0  1.0  0.0  1
# 1  0.0  2.0  2
# 2  3.0  0.0  3
# 
# 使用前向填充:
#      A    B  C
# 0  1.0  NaN  1
# 1  1.0  2.0  2
# 2  3.0  2.0  3
548、pandas.DataFrame.interpolate方法
548-1、语法
# 548、pandas.DataFrame.interpolate方法
pandas.DataFrame.interpolate(method='linear', *, axis=0, limit=None, inplace=False, limit_direction=None, limit_area=None, downcast=_NoDefault.no_default, **kwargs)
Fill NaN values using an interpolation method.Please note that only method='linear' is supported for DataFrame/Series with a MultiIndex.Parameters:
methodstr, default ‘linear’
Interpolation technique to use. One of:‘linear’: Ignore the index and treat the values as equally spaced. This is the only method supported on MultiIndexes.‘time’: Works on daily and higher resolution data to interpolate given length of interval.‘index’, ‘values’: use the actual numerical values of the index.‘pad’: Fill in NaNs using existing values.‘nearest’, ‘zero’, ‘slinear’, ‘quadratic’, ‘cubic’, ‘barycentric’, ‘polynomial’: Passed to scipy.interpolate.interp1d, whereas ‘spline’ is passed to scipy.interpolate.UnivariateSpline. These methods use the numerical values of the index. Both ‘polynomial’ and ‘spline’ require that you also specify an order (int), e.g. df.interpolate(method='polynomial', order=5). Note that, slinear method in Pandas refers to the Scipy first order spline instead of Pandas first order spline.‘krogh’, ‘piecewise_polynomial’, ‘spline’, ‘pchip’, ‘akima’, ‘cubicspline’: Wrappers around the SciPy interpolation methods of similar names. See Notes.‘from_derivatives’: Refers to scipy.interpolate.BPoly.from_derivatives.axis{{0 or ‘index’, 1 or ‘columns’, None}}, default None
Axis to interpolate along. For Series this parameter is unused and defaults to 0.limitint, optional
Maximum number of consecutive NaNs to fill. Must be greater than 0.inplacebool, default False
Update the data in place if possible.limit_direction{{‘forward’, ‘backward’, ‘both’}}, Optional
Consecutive NaNs will be filled in this direction.If limit is specified:
If ‘method’ is ‘pad’ or ‘ffill’, ‘limit_direction’ must be ‘forward’.If ‘method’ is ‘backfill’ or ‘bfill’, ‘limit_direction’ must be ‘backwards’.If ‘limit’ is not specified:
If ‘method’ is ‘backfill’ or ‘bfill’, the default is ‘backward’else the default is ‘forward’raises ValueError if
limit_direction
is ‘forward’ or ‘both’ and
method is ‘backfill’ or ‘bfill’.raises ValueError if
limit_direction
is ‘backward’ or ‘both’ and
method is ‘pad’ or ‘ffill’.limit_area{{None, ‘inside’, ‘outside’}}, default None
If limit is specified, consecutive NaNs will be filled with this restriction.None: No fill restriction.‘inside’: Only fill NaNs surrounded by valid values (interpolate).‘outside’: Only fill NaNs outside valid values (extrapolate).downcastoptional, ‘infer’ or None, defaults to None
Downcast dtypes if possible.Deprecated since version 2.1.0.``**kwargs``optional
Keyword arguments to pass on to the interpolating function.Returns:
Series or DataFrame or None
Returns the same object type as the caller, interpolated at some or all NaN values or None if inplace=True.
548-2、参数

548-2-1、method(可选,默认值为'linear')字符串,指定插值的方法,常用的方法包括:

  • 'linear':线性插值(默认)。
  • 'time':时间序列插值,仅适用于索引为时间戳的情况下。
  • 'index':根据索引值进行插值。
  • 其他插值方法如'nearest'、'polynomial'、'spline'等。

548-2-2、axis(可选,默认值为0){0或'index',1或'columns'},指定插值操作的方向,0或'index'表示沿着行进行插值,1或'columns'表示沿着列进行插值。

548-2-3、limit(可选,默认值为None)整数,指定在插值操作中最多插值的缺失值数量,这可以限制插值的范围。

548-2-4、inplace(可选,默认值为False)布尔值,是否在原地修改DataFrame,如果为True,插值将在原始DataFrame上完成并返回None;如果为False,则返回一个新的DataFrame,原始DataFrame保持不变。

548-2-5、limit_direction(可选,默认值为None){None, 'forward', 'backward'},指定插值的方向,'forward'表示只执行向前填充,'backward'表示只执行向后填充,如果为None,默认为两者都可。

548-2-6、limit_area(可选,默认值为None){None, 'inside', 'outside', 'both'},指定插值的区域,'inside'表示仅在内侧插值,'outside'表示仅在外侧插值,'both'表示在两者范围内插值。

548-2-7、downcast(可选){'int','float','string','boolean'}或None,指定数据类型的向下转型,若是否将插值后的数据转换为更小的数据类型,前提是数据类型允许。

548-2-8、**kwargs(可选)其他额外的关键字参数,为后续扩展功能做预留。

548-3、功能

        填充缺失值,通过插值计算在已有数据点之间估算缺失值,这在处理时间序列数据或一般情况下的数据填充时非常有用,可以保持数据的连续性。

548-4、返回值

        返回值是一个填充后的DataFrame,如果inplace=True,则返回值为None,原始DataFrame会被直接修改。

548-5、说明

        无

548-6、用法
548-6-1、数据准备
548-6-2、代码示例
# 548、pandas.DataFrame.interpolate方法
import pandas as pd
import numpy as np
# 创建一个示例DataFrame
df = pd.DataFrame({'A': [1, np.nan, 3, np.nan, 5],'B': [np.nan, 2, 3, 4, 5]
})
# 使用线性插值填充缺失值
interpolated_df1 = df.interpolate(method='linear')
print("线性插值填充结果:")
print(interpolated_df1)
548-6-3、结果输出
# 548、pandas.DataFrame.interpolate方法
# 线性插值填充结果:
#      A    B
# 0  1.0  NaN
# 1  2.0  2.0
# 2  3.0  3.0
# 3  4.0  4.0
# 4  5.0  5.0
549、pandas.DataFrame.isna方法
549-1、语法
# 549、pandas.DataFrame.isna方法
pandas.DataFrame.isna()
Detect missing values.Return a boolean same-sized object indicating if the values are NA. NA values, such as None or numpy.NaN, gets mapped to True values. Everything else gets mapped to False values. Characters such as empty strings '' or numpy.inf are not considered NA values (unless you set pandas.options.mode.use_inf_as_na = True).Returns:
DataFrame
Mask of bool values for each element in DataFrame that indicates whether an element is an NA value.
549-2、参数

        无

549-3、功能

        返回一个布尔型的DataFrame,与原始DataFrame具有相同的形状,布尔值表示数据是否为缺失值,缺失值(NaN)会被标记为True,而非缺失值会被标记为False。

549-4、返回值

        返回一个与原始DataFrame形状相同的布尔型DataFrame,如果某个单元格的值为缺失(如NaN),对应的位置将为True,否则为False。

549-5、说明

        无

549-6、用法
549-6-1、数据准备
549-6-2、代码示例
# 549、pandas.DataFrame.isna方法
import pandas as pd
import numpy as np
# 创建一个示例DataFrame
df = pd.DataFrame({'A': [1, np.nan, 3],'B': [4, 5, np.nan],'C': [np.nan, np.nan, 9]
})
# 检测缺失值
na_df = df.isna()
print("缺失值检测结果:")
print(na_df)
549-6-3、结果输出
# 549、pandas.DataFrame.isna方法
# 缺失值检测结果:
#        A      B      C
# 0  False  False   True
# 1   True  False   True
# 2  False   True  False
550、pandas.DataFrame.isnull方法
550-1、语法
# 550、pandas.DataFrame.isnull方法
pandas.DataFrame.isnull()
DataFrame.isnull is an alias for DataFrame.isna.Detect missing values.Return a boolean same-sized object indicating if the values are NA. NA values, such as None or numpy.NaN, gets mapped to True values. Everything else gets mapped to False values. Characters such as empty strings '' or numpy.inf are not considered NA values (unless you set pandas.options.mode.use_inf_as_na = True).Returns:
DataFrame
Mask of bool values for each element in DataFrame that indicates whether an element is an NA value.
550-2、参数

        无

550-3、功能

        返回一个与原始DataFrame同样形状的布尔型DataFrame,其中每个单元格指示该位置的值是否为缺失值,缺失值(NaN)将被标记为True,非缺失值将被标记为 False

550-4、返回值

        返回一个布尔型DataFrame,形状与原始DataFrame相同。

550-5、说明

        无

550-6、用法
550-6-1、数据准备
550-6-2、代码示例
# 550、pandas.DataFrame.isnull方法
import pandas as pd
import numpy as np
# 创建一个示例DataFrame
df = pd.DataFrame({'A': [1, np.nan, 3],'B': [4, 5, np.nan],'C': [np.nan, np.nan, 9]
})
# 检测缺失值
null_df = df.isnull()
print("缺失值检测结果:")
print(null_df)
550-6-3、结果输出
# 550、pandas.DataFrame.isnull方法
# 缺失值检测结果:
#        A      B      C
# 0  False  False   True
# 1   True  False   True
# 2  False   True  False

二、推荐阅读

1、Python筑基之旅
2、Python函数之旅
3、Python算法之旅
4、Python魔法之旅
5、博客个人主页

相关文章:

Python酷库之旅-第三方库Pandas(123)

目录 一、用法精讲 546、pandas.DataFrame.ffill方法 546-1、语法 546-2、参数 546-3、功能 546-4、返回值 546-5、说明 546-6、用法 546-6-1、数据准备 546-6-2、代码示例 546-6-3、结果输出 547、pandas.DataFrame.fillna方法 547-1、语法 547-2、参数 547-3、…...

IEEE投稿 IEEE Geoscience and Remote Sensing Letters

IEEE 应用地球观测与遥感专题杂志 journal of Selected Topics in Applied Earth Observations and Remote Sensing IEEE 文章提交流程 撰写文章并准备好图形后,您可以提交文章以供审核。请按照以下步骤完成 IEEE 文章提交流程。 选择目标期刊 如果文章超出期刊范围…...

【华为杯】2024华为杯数模研赛D题 解题思路

题目 大数据驱动的地理综合问题 问题1: 19902020年间中国范围内降水量和土地利用/土地覆被类型的时空演化特征描述? 解题思路 详细分析:此问题要求对降水量(连续变化变量)和土地利用/覆被(离散变化变量)进行时空演…...

Ubuntu20.04 搜索不到任何蓝牙设备

电脑信息 联想扬天YangTianT4900k 问题描述 打开蓝牙之后,一直转圈,搜索不到任何蓝牙设备 排查 dmesg | grep -i blue 有如下错误: Bluetooth: hci0: RTL: unknown IC info, lmp subver 8852, hci rev 000b, hci ver 000b lsusb 芯片型号如…...

【2024】MySQL账户管理

当前MySQL版本为: mysql> select version(); ----------- | version() | ----------- | 8.4.2 | ----------- 1 row in set (0.01 sec)目录 创建普通用户为用户授权查看用户权限修改用户权限修改用户密码删除用户 创建普通用户 使用CREATE USER语句创建用户…...

轻量级流密码算法Trivium

轻量级流密码算法Trivium 0x0 Trivium算法简介 Trivium算法是由C.D Canniere和B.Preneel共同设计的一套对称加密算法,Trivium密码算法采用了分组密码和非线性反馈移位寄存器的设计思路。该密码算法总共288比特的内部状态,其中有…...

MapReduce基本原理

目录 整体执行流程​ Map端执行流程 Reduce端执行流程 Shuffle执行流程 整体执行流程 八部曲 读取数据--> 定义map --> 分区 --> 排序 --> 规约 --> 分组 --> 定义reduce --> 输出数据 首先将文件进行切片(block)处理&#xff…...

数据结构之栈(python)

栈(顺序栈与链栈) 1.栈存储结构1.1栈的基本介绍1.2进栈和出栈1.3栈的具体实现1.4栈的应用例一例二例三 2.顺序栈及基本操作(包含入栈和出栈)2.1顺序栈的基础介绍2.2顺序栈元素入栈2.3顺序栈元素出栈2.4顺序栈的表示和实现 3.链栈及…...

浅谈人工智能之基于HTTP方式调用本地QWen OPenAI接口(Java版)

浅谈人工智能之基于HTTP方式调用本地QWen OPenAI接口(Java版) 概述 Qwen是阿里云推出的一款超大规模语言模型,其强大的自然语言处理能力使其成为开发智能应用的热门选择。本文将指导你如何使用Java通过HTTP方式调用Qwen的OpenAI接口&#x…...

【python设计模式7】行为型模式2

目录 策略模式 模板方法模式 策略模式 定义一个个算法,把它们封装起来,并且使它们可以相互替换。本模式使得算法可独立于使用它的客户而变化。角色有:抽象策略、具体策略和上下文。 from abc import abstractmethod, ABCMeta from datetim…...

基于PHP的CRM管理系统源码/客户关系管理CRM系统源码/php源码/附安装教程

源码简介: 这是一款基于PHP开发的CRM管理系统源码,全称客户关系管理CRM系统源码,它是由php源码开发的,还附带了一整套详细的安装教程哦! 功能亮点: 1、公海管理神器:不仅能搞定公海类型&…...

【乐企】基础版接口代码实现

本文主要是基础版接口声明的实现,具体接口声明见基础版接口声明。具体请求工具类见接口请求工具类 代码如下: 1、服务编码枚举 /*** User: yanjun.hou* Date: 2024/8/30 14:45* Description:乐企服务编码枚举...

题目--力扣----各位相加

给定一个非负整数 num,反复将各个位上的数字相加,直到结果为一位数。返回这个结果。 示例 1: 输入: num 38 输出: 2 解释: 各位相加的过程为: 38 --> 3 8 --> 11 11 --> 1 1 --> 2 由于 2 是一位数,所以返回 2。…...

git 如何基于某个分支rebase?

文章目录 0. 概要1. 切换到你想要 rebase 的分支2. 执行 rebase 命令3. 解决冲突(如果有)4. 强制推送分支(如果已经推送过该分支) 0. 概要 之前介绍过如下git文章 git merge的三种操作merge, squash merge, 和rebase merge 如何使…...

倒序循环(一)

题目描述 输入一个正整数n,输出从 n~ 1 递减的序列。 输入格式 一行一个整数 n 输出格式 n 行,每行一个符合题目要求的整数 样例数据 样例输入#1 5样例输出#1 5 4 3 2 1样例输入#2 6样例输出#2 6 5 4 3 2 1数据范围 对于100%的数据&#xff…...

Shell篇之编写apache启动脚本

Shell篇之编写apache启动脚本 1. 脚本编写 vim apache_ctl.sh#!/bin/bashfunction_start(){printf "Starting Apaache ...\n"/opt/lanmp/httpd/bin/apachectl start }function_stop(){printf "Stoping Apaache ...\n"/opt/lanmp/httpd/bin/apachectl s…...

头条|司法部公法局局长访谈:推进高水平公立鉴定机构建设!加快推进司法鉴定立法!

主持人:大家好,我是司法部AI主播司政轩。为切实做好党的二十届三中全会精神学习宣传贯彻,积极反映司法部及地方司法行政机关学习全会精神的体会收获和贯彻落实举措,我们推出了“学习宣传贯彻党的二十届三中全会精神--司法行政微访…...

高密原型验证系统解决方案(上篇)

0 引言 随着当今 SoC 设计规模的快速膨胀,仅仅靠几 颗当代最先进的 FPGA 已经无法满足原型验证的需求。简单的增加系统的容量,会遇到系统时钟复位同 步,设计分割以及高速接口和先进 Memory控制器 IP 验证等多重困难。此时,一个商用…...

新产品,推出 MLX90372GVS 第三代 Triaxis® 位置传感器 IC,适用于汽车和工业系统(MLX90372GVS-ACE-308)

Triaxis 旋转和线性位置传感器IC: MLX90372GVS-ACE-103 MLX90372GVS-ACE-108 MLX90372GVS-ACE-301 MLX90372GVS-ACE-200 MLX90372GVS-ACE-208 MLX90372GVS-ACE-303 MLX90372GVS-ACE-300 MLX90372GVS-ACE-350 MLX90372GVS-ACE-100 MLX90372GVS-ACE-101 MLX90372GVS-…...

JAVA毕业设计178—基于Java+Springboot+vue的智能家具管理系统(源代码+数据库+万字论文)

毕设所有选题: https://blog.csdn.net/2303_76227485/article/details/131104075 基于JavaSpringbootvue的智能家具管理系统(源代码数据库万字论文)178 一、系统介绍 本项目前后端分离(可以改为ssm版本),分为用户、管理员两种角色 1、用户&#xff1…...

51c自动驾驶~合集58

我自己的原文哦~ https://blog.51cto.com/whaosoft/13967107 #CCA-Attention 全局池化局部保留,CCA-Attention为LLM长文本建模带来突破性进展 琶洲实验室、华南理工大学联合推出关键上下文感知注意力机制(CCA-Attention),…...

Qt/C++开发监控GB28181系统/取流协议/同时支持udp/tcp被动/tcp主动

一、前言说明 在2011版本的gb28181协议中,拉取视频流只要求udp方式,从2016开始要求新增支持tcp被动和tcp主动两种方式,udp理论上会丢包的,所以实际使用过程可能会出现画面花屏的情况,而tcp肯定不丢包,起码…...

Docker 运行 Kafka 带 SASL 认证教程

Docker 运行 Kafka 带 SASL 认证教程 Docker 运行 Kafka 带 SASL 认证教程一、说明二、环境准备三、编写 Docker Compose 和 jaas文件docker-compose.yml代码说明:server_jaas.conf 四、启动服务五、验证服务六、连接kafka服务七、总结 Docker 运行 Kafka 带 SASL 认…...

STM32+rt-thread判断是否联网

一、根据NETDEV_FLAG_INTERNET_UP位判断 static bool is_conncected(void) {struct netdev *dev RT_NULL;dev netdev_get_first_by_flags(NETDEV_FLAG_INTERNET_UP);if (dev RT_NULL){printf("wait netdev internet up...");return false;}else{printf("loc…...

vscode(仍待补充)

写于2025 6.9 主包将加入vscode这个更权威的圈子 vscode的基本使用 侧边栏 vscode还能连接ssh? debug时使用的launch文件 1.task.json {"tasks": [{"type": "cppbuild","label": "C/C: gcc.exe 生成活动文件"…...

智能在线客服平台:数字化时代企业连接用户的 AI 中枢

随着互联网技术的飞速发展,消费者期望能够随时随地与企业进行交流。在线客服平台作为连接企业与客户的重要桥梁,不仅优化了客户体验,还提升了企业的服务效率和市场竞争力。本文将探讨在线客服平台的重要性、技术进展、实际应用,并…...

【CSS position 属性】static、relative、fixed、absolute 、sticky详细介绍,多层嵌套定位示例

文章目录 ★ position 的五种类型及基本用法 ★ 一、position 属性概述 二、position 的五种类型详解(初学者版) 1. static(默认值) 2. relative(相对定位) 3. absolute(绝对定位) 4. fixed(固定定位) 5. sticky(粘性定位) 三、定位元素的层级关系(z-i…...

JUC笔记(上)-复习 涉及死锁 volatile synchronized CAS 原子操作

一、上下文切换 即使单核CPU也可以进行多线程执行代码,CPU会给每个线程分配CPU时间片来实现这个机制。时间片非常短,所以CPU会不断地切换线程执行,从而让我们感觉多个线程是同时执行的。时间片一般是十几毫秒(ms)。通过时间片分配算法执行。…...

【数据分析】R版IntelliGenes用于生物标志物发现的可解释机器学习

禁止商业或二改转载,仅供自学使用,侵权必究,如需截取部分内容请后台联系作者! 文章目录 介绍流程步骤1. 输入数据2. 特征选择3. 模型训练4. I-Genes 评分计算5. 输出结果 IntelliGenesR 安装包1. 特征选择2. 模型训练和评估3. I-Genes 评分计…...

视频行为标注工具BehaviLabel(源码+使用介绍+Windows.Exe版本)

前言: 最近在做行为检测相关的模型,用的是时空图卷积网络(STGCN),但原有kinetic-400数据集数据质量较低,需要进行细粒度的标注,同时粗略搜了下已有开源工具基本都集中于图像分割这块&#xff0c…...