百度360必应搜狗淘宝本站头条
当前位置:网站首页 > IT知识 > 正文

10个Pandas的另类数据处理技巧(pandas数据处理案例)

liuian 2025-03-29 19:29 105 浏览

来源:DeepHub IMBA本文约2000字,建议阅读5分钟本文介绍了10个Pandas的常用技巧。


本文所整理的技巧与以前整理过10个Pandas的常用技巧不同,你可能并不会经常的使用它,但是有时候当你遇到一些非常棘手的问题时,这些技巧可以帮你快速解决一些不常见的问题。



1、Categorical类型


默认情况下,具有有限数量选项的列都会被分配object 类型。但是就内存来说并不是一个有效的选择。我们可以这些列建立索引,并仅使用对对象的引用而实际值。Pandas 提供了一种称为 Categorical的Dtype来解决这个问题。


例如一个带有图片路径的大型数据集组成。每行有三列:anchor, positive, and negative.。


如果类别列使用 Categorical 可以显着减少内存使用量。


 # raw data

 +----------+------------------------+

 |  class   |        filename        |

 +----------+------------------------+

 | Bathroom | Bathroom\bath_1.jpg    |

 | Bathroom | Bathroom\bath_100.jpg  |

 | Bathroom | Bathroom\bath_1003.jpg |

 | Bathroom | Bathroom\bath_1004.jpg |

 | Bathroom | Bathroom\bath_1005.jpg |

 +----------+------------------------+




 # target

 +------------------------+------------------------+----------------------------+

 |         anchor         |        positive        |          negative          |

 +------------------------+------------------------+----------------------------+

 | Bathroom\bath_1.jpg    | Bathroom\bath_100.jpg  | Dinning\din_540.jpg        |

 | Bathroom\bath_100.jpg  | Bathroom\bath_1003.jpg | Dinning\din_1593.jpg       |

 | Bathroom\bath_1003.jpg | Bathroom\bath_1004.jpg | Bedroom\bed_329.jpg        |

 | Bathroom\bath_1004.jpg | Bathroom\bath_1005.jpg | Livingroom\living_1030.jpg |

 | Bathroom\bath_1005.jpg | Bathroom\bath_1007.jpg | Bedroom\bed_1240.jpg       |

 +------------------------+------------------------+----------------------------+

filename列的值会经常被复制重复。因此,所以通过使用Categorical可以极大的减少内存使用量。


让我们读取目标数据集,看看内存的差异:


 triplets.info(memory_usage="deep")




 #   Column   Non-Null Count   Dtype  

 # --- ------   --------------   -----  

 # 0   anchor   525000 non-null category

 # 1   positive 525000 non-null category

 # 2   negative 525000 non-null category

 # dtypes: category(3)

 # memory usage: 4.6 MB




 # without categories

 triplets_raw.info(memory_usage="deep")




 #   Column   Non-Null Count   Dtype

 # --- ------   --------------   -----

 # 0   anchor   525000 non-null object

 # 1   positive 525000 non-null object

 # 2   negative 525000 non-null object

 # dtypes: object(3)

 # memory usage: 118.1 MB


差异非常大,并且随着重复次数的增加,差异呈非线性增长。


2、行列转换


sql中经常会遇到行列转换的问题,Pandas有时候也需要,让我们看看来自Kaggle比赛的数据集。census_start .csv文件:



可以看到,这些按年来保存的,如果有一个列year和pct_bb,并且每一行有相应的值,则会好得多,对吧。


 cols = sorted([col for col in original_df.columns \

               if col.startswith("pct_bb")])

 df = original_df[(["cfips"] + cols)]

 df = df.melt(id_vars="cfips",

              value_vars=cols,

              var_name="year",

              value_name="feature").sort_values(by=["cfips", "year"])


看看结果,这样是不是就好很多了:



3、apply()很慢


我们上次已经介绍过,最好不要使用这个方法,因为它遍历每行并调用指定的方法。但是要是我们没有别的选择,那还有没有办法提高速度呢?


可以使用swifter或pandarallew这样的包,使过程并行化。


Swifter

 import pandas as pd

 import swifter




 def target_function(row):

     return row * 10




 def traditional_way(data):

     data['out'] = data['in'].apply(target_function)




 def swifter_way(data):

     data['out'] = data['in'].swifter.apply(target_function)

Pandarallel


 import pandas as pd

 from pandarallel import pandarallel




 def target_function(row):

     return row * 10




 def traditional_way(data):

     data['out'] = data['in'].apply(target_function)




 def pandarallel_way(data):

     pandarallel.initialize()

     data['out'] = data['in'].parallel_apply(target_function)


通过多线程,可以提高计算的速度,当然当然,如果有集群,那么最好使用dask或pyspark。


4、空值,int, Int64


标准整型数据类型不支持空值,所以会自动转换为浮点数。所以如果数据要求在整数字段中使用空值,请考虑使用Int64数据类型,因为它会使用pandas.NA来表示空值。


5、Csv, 压缩还是parquet?


尽可能选择parquet。parquet会保留数据类型,在读取数据时就不需要指定dtypes。parquet文件默认已经使用了snappy进行压缩,所以占用的磁盘空间小。下面可以看看几个的对比:


 |        file            |  size   |

 +------------------------+---------+

 | triplets_525k.csv      | 38.4 MB |

 | triplets_525k.csv.gzip |  4.3 MB |

 | triplets_525k.csv.zip  |  4.5 MB |

 | triplets_525k.parquet  |  1.9 MB |

 +------------------------+---------+

读取parquet需要额外的包,比如pyarrow或fastparquet。chatgpt说pyarrow比fastparquet要快,但是我在小数据集上测试时fastparquet比pyarrow要快,但是这里建议使用pyarrow,因为pandas 2.0也是默认的使用这个。


6、value_counts ()


计算相对频率,包括获得绝对值、计数和除以总数是很复杂的,但是使用value_counts,可以更容易地完成这项任务,并且该方法提供了包含或排除空值的选项。


 df = pd.DataFrame({"a": [1, 2, None], "b": [4., 5.1, 14.02]})
 df["a"] = df["a"].astype("Int64")
 print(df.info())
 print(df["a"].value_counts(normalize=True, dropna=False),
      df["a"].value_counts(normalize=True, dropna=True), sep="\n\n")


这样是不是就简单很多了。


7、Modin


注意:Modin现在还在测试阶段。


pandas是单线程的,但Modin可以通过缩放pandas来加快工作流程,它在较大的数据集上工作得特别好,因为在这些数据集上,pandas会变得非常缓慢或内存占用过大导致OOM。


 !pip install modin[all]




 import modin.pandas as pd

 df = pd.read_csv("my_dataset.csv")


以下是modin官网的架构图,有兴趣的研究把:

8、extract()


如果经常遇到复杂的半结构化的数据,并且需要从中分离出单独的列,那么可以使用这个方法:


 import pandas as pd




 regex = (r'(?P[A-Za-z\'\s]+),'

          r'(?P<author>[A-Za-z\s\']+),'

          r'(?P<isbn>[\d-]+),'

          r'(?P<year>\d{4}),'

          r'(?P<publisher>.+)')

 addr = pd.Series([

     "The Lost City of Amara,Olivia Garcia,978-1-234567-89-0,2023,HarperCollins",

     "The Alchemist's Daughter,Maxwell Greene,978-0-987654-32-1,2022,Penguin Random House",

     "The Last Voyage of the HMS Endeavour,Jessica Kim,978-5-432109-87-6,2021,Simon & Schuster",

     "The Ghosts of Summer House,Isabella Lee,978-3-456789-12-3,2000,Macmillan Publishers",

     "The Secret of the Blackthorn Manor,Emma Chen,978-9-876543-21-0,2023,Random House Children's Books"

  ])

 addr.str.extract(regex)</code></pre><p data-track="82" class="syl-page-br" style><br></p><p data-track="83" class="syl-page-br syl-page-br-hide" style><br></p><h1 class="pgc-h-arrow-right" data-track="84">9、读写剪贴板</h1><p data-track="85" class="syl-page-br" style><br></p><p data-track="86"><span style="letter-spacing: 1px;"><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">这个技巧有人一次也用不到,但是有人可能就是需要,比如:在分析中包含PDF文件中的表格时。通常的方法是复制数据,粘贴到Excel中,导出到csv文件中,然后导入Pandas。但是,这里有一个更简单的解决方案:pd.read_clipboard()。我们所需要做的就是复制所需的数据并执行一个方法。</span></span></p><p data-track="87" class="syl-page-br" style><br></p><p data-track="88"><span style="letter-spacing: 1px;"><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">有读就可以写,所以还可以使用to_clipboard()方法导出到剪贴板。</span></span></p><p data-track="89" class="syl-page-br" style><br></p><p data-track="90"><span style="letter-spacing: 1px;"><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">但是要记住,这里的剪贴板是你运行python/jupyter主机的剪切板,并不可能跨主机粘贴,一定不要搞混了。</span></span></p><p data-track="91" class="syl-page-br" style><br></p><h1 class="pgc-h-arrow-right" data-track="92">10、数组列分成多列</h1><p data-track="93" class="syl-page-br" style><br></p><p data-track="94"><span style="letter-spacing: 1px;"><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">假设我们有这样一个数据集,这是一个相当典型的情况:</span></span></p><p data-track="95" class="syl-page-br" style><br></p><pre class="prism-highlight prism-language-bash" class="syl-page-code"><code> import pandas as pd
 df = pd.DataFrame({"a": [1, 2, 3],
              "b": [4, 5, 6],
              "category": [["foo", "bar"], ["foo"], ["qux"]]})


 # let's increase the number of rows in a dataframe
 df = pd.concat([df]*10000, ignore_index=True)</code></pre><p data-track="97" class="syl-page-br" style><br></p><p data-track="98" class="syl-page-br syl-page-br-hide" style><br></p><p data-track="99"><span style="letter-spacing: 1px;"><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">我们想将category分成多列显示,例如下面的</span></span></p><p data-track="100" class="syl-page-br syl-page-br-hide" style><br></p><p data-track="101" class="syl-page-br syl-page-br-hide" style><br></p><p data-track="102"><span style="letter-spacing: 1px;"><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">先看看最慢的apply:</span></span></p><p data-track="103" class="syl-page-br" style><br></p><pre class="prism-highlight prism-language-bash" class="syl-page-code"><code> def dummies_series_apply(df):

    return df.join(df['category'].apply(pd.Series) \

                                  .stack() \

                                  .str.get_dummies() \

                                  .groupby(level=0) \

                                  .sum()) \

              .drop("category", axis=1)

 %timeit dummies_series_apply(df.copy())

 #5.96 s ± 66.6 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
</code></pre><p data-track="105"><span style="letter-spacing: 1px;"><strong><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">sklearn的MultiLabelBinarizer</span></strong></span></p><p data-track="106" class="syl-page-br" style><br></p><pre class="prism-highlight prism-language-bash" class="syl-page-code"><code> from sklearn.preprocessing import MultiLabelBinarizer

 def sklearn_mlb(df):

    mlb = MultiLabelBinarizer()

    return df.join(pd.DataFrame(mlb.fit_transform(df['category']), columns=mlb.classes_)) \

              .drop("category", axis=1)

 %timeit sklearn_mlb(df.copy())

 #35.1 ms ± 1.31 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
</code></pre><p data-track="108" class="syl-page-br" style><br></p><p data-track="109"><span style="letter-spacing: 1px;"><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">是不是快了很多,我们还可以使用一般的向量化操作对其求和:</span></span></p><p data-track="110" class="syl-page-br" style><br></p><pre class="prism-highlight prism-language-bash" class="syl-page-code"><code> def dummies_vectorized(df):

    return pd.get_dummies(df.explode("category"), prefix="cat") \

              .groupby(["a", "b"]) \

              .sum() \

              .reset_index()

 %timeit dummies_vectorized(df.copy())

 #29.3 ms ± 1.22 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
</code></pre><p data-track="112" class="syl-page-br" style><br></p><p data-track="113" class="syl-page-br syl-page-br-hide" style><br></p><p data-track="114"><span style="letter-spacing: 1px;"><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">使用第一个方法(在StackOverflow上的回答中非常常见)会给出一个非常慢的结果。而其他两个优化的方法的时间是非常快速的。</span></span></p><p data-track="115" class="syl-page-br" style><br></p><h1 class="pgc-h-arrow-right" data-track="116">总结</h1><p data-track="117" class="syl-page-br" style><br></p><p data-track="118"><span style="letter-spacing: 1px;"><span style="color: #000000; --tt-darkmode-color: #A3A3A3;">我希望每个人都能从这些技巧中学到一些新的东西。重要的是要记住尽可能使用向量化操作而不是apply()。此外,除了csv之外,还有其他有趣的存储数据集的方法。不要忘记使用分类数据类型,它可以节省大量内存。感谢阅读!</span></span></p></div>

<div class="clearfix mb10">
        <div class="share fr">
        <div class="social-share mb20 ta-c" data-initialized="true">
            <a href="#" class="social-share-icon iconfont icon-weibo"></a>
            <a href="#" class="social-share-icon iconfont icon-qq"></a>
            <a href="#" class="social-share-icon iconfont icon-wechat"></a>
            <a href="#" class="social-share-icon iconfont icon-qzone"></a>
        </div>
        <script src="http://www.liulianxun.com/zb_users/theme/tx_hao/script/social-share.min.js"></script>
    </div>
    
        <div class="info-tag">
        <a href="http://www.liulianxun.com/tags-167.html" title="查看更多snappy压缩内容" rel="tag" target="_blank">snappy压缩</a>    </div>
    </div>



<div class="info-next">
    <ul class="row">
        <li class="col-12 col-m-24 mb10">上一篇:<a href="http://www.liulianxun.com/post/3329.html" title="Redisson的11个应用场景(redis各种类型的应用场景)">Redisson的11个应用场景(redis各种类型的应用场景)</a></li>
        <li class="col-12 col-m-24 ta-r mb10">下一篇:<a href="http://www.liulianxun.com/post/3331.html" title="5 分钟快速上手图形验证码,防止接口被恶意刷量!">5 分钟快速上手图形验证码,防止接口被恶意刷量!</a></li>
    </ul>
</div>

            </div>
            <h2 class="tx-title">相关推荐</h2>
            <div class="home-news">
                                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8577.html" title="ghost系统下载xp(非ghostxp下载)" class="f-black" target="_blank">ghost系统下载xp(非ghostxp下载)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">蒲公英系统网站能下载。下载后缀为gho的xp系统,使用体验非常棒效果非常好。以上信息根据美国华盛顿操作系统邮报最新消息显示。不能装钉钉的。在WindowsXP系统上是不能安装钉钉来上网课的。要使用钉...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8576.html" title="电脑安全模式怎么用(电脑安全模式怎么按出来)" class="f-black" target="_blank">电脑安全模式怎么用(电脑安全模式怎么按出来)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">1.进入运行输入指令确定键盘上按下win+r组合键,打开运行,输入msconfig,点击确定。2.进引导系统选安全引导进入页面后,点击引导,选中系统,勾选安全引导,点击确定。3.重启进入安全模式弹出...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8575.html" title="win10可选更新(win10可选更新和必要更新)" class="f-black" target="_blank">win10可选更新(win10可选更新和必要更新)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">首先确保系统是激活状态。如果不是,可以用小马激活或KMS激活软件等工具激活。1.打开开始菜单,选择“设置”,选择“更新和安全”,设置自动检测安装更新,接受win10推送。电脑接受win10推送后...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8574.html" title="讯飞语音输入法(讯飞语音输入法电脑版)" class="f-black" target="_blank">讯飞语音输入法(讯飞语音输入法电脑版)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">手机中讯飞语音输入法操作起来非常的简便。我们可以先打开讯飞语音。输入法在输入法键盘上的上端有一个麦克风的标识,我们只要点开麦克风的标识,就可以说话了,上面就会出现相应的文字了。文字可以自动帮我们识别修...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8573.html" title="电脑品牌型号在哪里看(电脑选什么牌子的好)" class="f-black" target="_blank">电脑品牌型号在哪里看(电脑选什么牌子的好)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">查看自己电脑品牌型号和具体配置的具体方法:1.右键点击桌面上的“这台电脑”图标,弹出的菜单中选择“属性”。2.在此界面即可看到你的电脑的CPU品牌(AMD)、型号(A6-5200)、频率(2.0GHz...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8572.html" title="网卡驱动装不上怎么回事(网卡驱动装不了怎么办)" class="f-black" target="_blank">网卡驱动装不上怎么回事(网卡驱动装不了怎么办)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">可能原因如下1、这种情况是因为系统中没有集成电脑网卡所对应的驱动程序。2、这种情况可以利用鲁大师查询网卡的具体型号,然后去官网或者网络上下载对应的驱动重新安装就可以正常上网了。可能原因如下:1,估计是...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8571.html" title="手机输入法怎么打繁体字(手机怎样输入繁体)" class="f-black" target="_blank">手机输入法怎么打繁体字(手机怎样输入繁体)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">步骤如下:1.在手机设置页面找到输入法设置,如果能搜索,会帮助找到输入法设置页面。2.在系统的输入法设置页面,找到输入法自身的设置页面入口。3.在输入法自设难度设置页面,找到简繁切换的设置页面。4.勾...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8570.html" title="photoshop 下载(photoshop下载需要花钱吗)" class="f-black" target="_blank">photoshop 下载(photoshop下载需要花钱吗)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">怎样下载photoshop的步骤方法如下面所示:1.首先第一步的步骤是在我们的电脑桌面上找到电脑管家并紧接着点击它(如果没有电脑管家需要提前安装)。2.然后一步的方法是点击屏幕右下方的工具箱。3.最后...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8569.html" title="联想官方网站驱动下载官网(联想官方网站驱动下载官网安装)" class="f-black" target="_blank">联想官方网站驱动下载官网(联想官方网站驱动下载官网安装)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">拯救者官网下驱动的方法:打开联想服务官网(support.lenovo.com.cn),页面滚动下拉找到“帮助与支持”板块,点击“驱动和软件下载”。下载联想拯救者的驱动很简单。简单联想官网提供详细的驱...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8568.html" title="win7一键重装(win7一键重装系统纯净版不需要激活哪个好)" class="f-black" target="_blank">win7一键重装(win7一键重装系统纯净版不需要激活哪个好)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">1.制作一个u盘pe2.下载win7系统镜像到u盘里面3.u盘插入电脑4.启动电脑按F12或DE5.选择usb进入pe6.打开一键安装7.选择系统8.等待安装,都是自动安装无需手动9.安装系统完成后就...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8567.html" title="硬盘低格工具软件(硬盘低格软件推荐)" class="f-black" target="_blank">硬盘低格工具软件(硬盘低格软件推荐)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">万能低格工具llftool好万能低格工具llftool是一款强大易用的硬盘低级格式化软件,支持硬盘、移动硬盘、内存卡、u盘等等存储设备的低格功能,过程快速方便,性能安全稳定。另外,...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dd class="news-img">
        <a href="http://www.liulianxun.com/post/8566.html" class="img-box" data-ratio="16:9" title="笔记本电脑过热保护自动关机" target="_blank"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/cd272f23e3db4293b088bc188e1357fa~tplv-tt-origin.image?_iz=30575&from=search_content.wenda_api&lk3s=6d7debb0&x-expires=1764766817&x-signature=ViMGYLd%2F5tVxVVNNs2yzNd%2FyPXA%3D" alt="笔记本电脑过热保护自动关机"></a>
    </dd>
    <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8566.html" title="笔记本电脑过热保护自动关机" class="f-black" target="_blank">笔记本电脑过热保护自动关机</a></dt>
    <dd class="news-txt sjwu">
        <p class="f-gray f-13">笔记本电脑发热可能是因为散热不行导致cpu过热自动关机保护,可以这样处理:1)清洁笔记本侧面和底部的散热孔,保证可以充分散热;2)外接风扇进行辅助散热,如问题依然存在,按照步骤3处理;3)拆卸后盖,清洁风扇叶片上的灰尘,同时,更换导热片下方...</p>
    </dd>
    <dd class="news-time">
        <p class="f-gray f-12"><span class="mr10">2026-01-12 01:55</span> liuian</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8565.html" title="英特尔cpu查询(英特尔cpu查询保修)" class="f-black" target="_blank">英特尔cpu查询(英特尔cpu查询保修)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">英特尔官网序列号的查询,1可以通过BIOS设置或者CPU-Z等软件查询英特尔序列号。2英特尔序列号是由英特尔公司推出的一种唯一标识符,用于区分不同的处理器芯片。3除了查询英特尔序列号,CPU-Z...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8564.html" title="电脑可以还原系统吗(电脑可以还原到出厂设置吗)" class="f-black" target="_blank">电脑可以还原系统吗(电脑可以还原到出厂设置吗)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">方法/步骤分步阅读1/11Windows7系统打开或者关闭系统还原点的方法Windows7系统关闭系统还原右键桌面计算机图标-属性;2/11在打开的系统窗口,我们点击左侧的高级系统设置;3/11在...</p>
    </dd>
    </dl>                                
<dl class="news-box clearfix pd20 ">
        <dt class="f-18 mb10"><a href="http://www.liulianxun.com/post/8563.html" title="visio软件密钥(microsoft visio密钥)" class="f-black" target="_blank">visio软件密钥(microsoft visio密钥)</a></dt>
    <dd class="news-txt">
        <p class="f-gray f-13">在控制面板\所有控制面板项\程序和功能中找到,右键----更改</p>
    </dd>
    </dl>                
            </div>

            
        </div>

                <div class="side-box col-6 col-m-24 col2-">
                                    <dl class="side-hot">
                <dt>一周热门</dt>
                <dd>
                    <ul>
                                                <li>
                            <a href="http://www.liulianxun.com/post/3858.html" title="飞牛OS入门安装遇到问题,如何解决?" target="_blank">
                                                                <h2 class="f-15">飞牛OS入门安装遇到问题,如何解决?</h2>
                            </a>
                        </li>
                                                <li>
                            <a href="http://www.liulianxun.com/post/3427.html" title="如何在 iPhone 和 Android 上恢复已删除的抖音消息" target="_blank">
                                                                <h2 class="f-15">如何在 iPhone 和 Android 上恢复已删除的抖音消息</h2>
                            </a>
                        </li>
                                                <li>
                            <a href="http://www.liulianxun.com/post/3581.html" title="Boost高性能并发无锁队列指南:boost::lockfree::queue" target="_blank">
                                                                <h2 class="f-15">Boost高性能并发无锁队列指南:boost::lockfree::queue</h2>
                            </a>
                        </li>
                                                <li>
                            <a href="http://www.liulianxun.com/post/3611.html" title="大模型手册: 保姆级用CherryStudio知识库" target="_blank">
                                                                <h2 class="f-15">大模型手册: 保姆级用CherryStudio知识库</h2>
                            </a>
                        </li>
                                                <li>
                            <a href="http://www.liulianxun.com/post/4348.html" title="用什么工具在Win中查看8G大的log文件?" target="_blank">
                                                                <h2 class="f-15">用什么工具在Win中查看8G大的log文件?</h2>
                            </a>
                        </li>
                                                <li>
                            <a href="http://www.liulianxun.com/post/3930.html" title="如何在 Windows 10 或 11 上通过命令行安装 Node.js 和 NPM" target="_blank">
                                                                <h2 class="f-15">如何在 Windows 10 或 11 上通过命令行安装 Node.js 和 NPM</h2>
                            </a>
                        </li>
                                                <li>
                            <a href="http://www.liulianxun.com/post/3299.html" title="威联通NAS安装阿里云盘WebDAV服务并添加到Infuse" target="_blank">
                                                                <h2 class="f-15">威联通NAS安装阿里云盘WebDAV服务并添加到Infuse</h2>
                            </a>
                        </li>
                                                <li>
                            <a href="http://www.liulianxun.com/post/3891.html" title="Trae IDE 如何与 GitHub 无缝对接?" target="_blank">
                                                                <h2 class="f-15">Trae IDE 如何与 GitHub 无缝对接?</h2>
                            </a>
                        </li>
                                                <li>
                            <a href="http://www.liulianxun.com/post/3479.html" title="idea插件之maven search(工欲善其事,必先利其器)" target="_blank">
                                                                <h2 class="f-15">idea插件之maven search(工欲善其事,必先利其器)</h2>
                            </a>
                        </li>
                                                <li>
                            <a href="http://www.liulianxun.com/post/4277.html" title="如何修改图片拍摄日期?快速修改图片拍摄日期的6种方法" target="_blank">
                                                                <h2 class="f-15">如何修改图片拍摄日期?快速修改图片拍摄日期的6种方法</h2>
                            </a>
                        </li>
                                            </ul>
                </dd>
            </dl>
            
            

<dl class="function" id="divPrevious">
<dt class="function_t">最近发表</dt><dd class="function_c">


<ul><li><a title="ghost系统下载xp(非ghostxp下载)" href="http://www.liulianxun.com/post/8577.html">ghost系统下载xp(非ghostxp下载)</a></li>
<li><a title="电脑安全模式怎么用(电脑安全模式怎么按出来)" href="http://www.liulianxun.com/post/8576.html">电脑安全模式怎么用(电脑安全模式怎么按出来)</a></li>
<li><a title="win10可选更新(win10可选更新和必要更新)" href="http://www.liulianxun.com/post/8575.html">win10可选更新(win10可选更新和必要更新)</a></li>
<li><a title="讯飞语音输入法(讯飞语音输入法电脑版)" href="http://www.liulianxun.com/post/8574.html">讯飞语音输入法(讯飞语音输入法电脑版)</a></li>
<li><a title="电脑品牌型号在哪里看(电脑选什么牌子的好)" href="http://www.liulianxun.com/post/8573.html">电脑品牌型号在哪里看(电脑选什么牌子的好)</a></li>
<li><a title="网卡驱动装不上怎么回事(网卡驱动装不了怎么办)" href="http://www.liulianxun.com/post/8572.html">网卡驱动装不上怎么回事(网卡驱动装不了怎么办)</a></li>
<li><a title="手机输入法怎么打繁体字(手机怎样输入繁体)" href="http://www.liulianxun.com/post/8571.html">手机输入法怎么打繁体字(手机怎样输入繁体)</a></li>
<li><a title="photoshop 下载(photoshop下载需要花钱吗)" href="http://www.liulianxun.com/post/8570.html">photoshop 下载(photoshop下载需要花钱吗)</a></li>
<li><a title="联想官方网站驱动下载官网(联想官方网站驱动下载官网安装)" href="http://www.liulianxun.com/post/8569.html">联想官方网站驱动下载官网(联想官方网站驱动下载官网安装)</a></li>
<li><a title="win7一键重装(win7一键重装系统纯净版不需要激活哪个好)" href="http://www.liulianxun.com/post/8568.html">win7一键重装(win7一键重装系统纯净版不需要激活哪个好)</a></li>
</ul>

</dd>
</dl>
<dl class="function" id="divTags">
<dt class="function_t">标签列表</dt><dd class="function_c">


<ul><li><a title="python判断字典是否为空" href="http://www.liulianxun.com/tags-1.html">python判断字典是否为空<span class="tag-count"> (50)</span></a></li>
<li><a title="crontab每周一执行" href="http://www.liulianxun.com/tags-8.html">crontab每周一执行<span class="tag-count"> (48)</span></a></li>
<li><a title="aes和des区别" href="http://www.liulianxun.com/tags-9.html">aes和des区别<span class="tag-count"> (43)</span></a></li>
<li><a title="bash脚本和shell脚本的区别" href="http://www.liulianxun.com/tags-40.html">bash脚本和shell脚本的区别<span class="tag-count"> (35)</span></a></li>
<li><a title="canvas库" href="http://www.liulianxun.com/tags-45.html">canvas库<span class="tag-count"> (33)</span></a></li>
<li><a title="dataframe筛选满足条件的行" href="http://www.liulianxun.com/tags-47.html">dataframe筛选满足条件的行<span class="tag-count"> (35)</span></a></li>
<li><a title="gitlab日志" href="http://www.liulianxun.com/tags-52.html">gitlab日志<span class="tag-count"> (33)</span></a></li>
<li><a title="lua xpcall" href="http://www.liulianxun.com/tags-53.html">lua xpcall<span class="tag-count"> (36)</span></a></li>
<li><a title="blob转json" href="http://www.liulianxun.com/tags-54.html">blob转json<span class="tag-count"> (33)</span></a></li>
<li><a title="python判断是否在列表中" href="http://www.liulianxun.com/tags-56.html">python判断是否在列表中<span class="tag-count"> (34)</span></a></li>
<li><a title="python html转pdf" href="http://www.liulianxun.com/tags-57.html">python html转pdf<span class="tag-count"> (36)</span></a></li>
<li><a title="安装指定版本npm" href="http://www.liulianxun.com/tags-67.html">安装指定版本npm<span class="tag-count"> (37)</span></a></li>
<li><a title="idea搜索jar包内容" href="http://www.liulianxun.com/tags-69.html">idea搜索jar包内容<span class="tag-count"> (33)</span></a></li>
<li><a title="css鼠标悬停出现隐藏的文字" href="http://www.liulianxun.com/tags-75.html">css鼠标悬停出现隐藏的文字<span class="tag-count"> (34)</span></a></li>
<li><a title="linux nacos启动命令" href="http://www.liulianxun.com/tags-81.html">linux nacos启动命令<span class="tag-count"> (33)</span></a></li>
<li><a title="gitlab 日志" href="http://www.liulianxun.com/tags-82.html">gitlab 日志<span class="tag-count"> (36)</span></a></li>
<li><a title="adb pull" href="http://www.liulianxun.com/tags-108.html">adb pull<span class="tag-count"> (37)</span></a></li>
<li><a title="python判断元素在不在列表里" href="http://www.liulianxun.com/tags-114.html">python判断元素在不在列表里<span class="tag-count"> (34)</span></a></li>
<li><a title="python 字典删除元素" href="http://www.liulianxun.com/tags-115.html">python 字典删除元素<span class="tag-count"> (34)</span></a></li>
<li><a title="vscode切换git分支" href="http://www.liulianxun.com/tags-117.html">vscode切换git分支<span class="tag-count"> (35)</span></a></li>
<li><a title="python bytes转16进制" href="http://www.liulianxun.com/tags-122.html">python bytes转16进制<span class="tag-count"> (35)</span></a></li>
<li><a title="grep前后几行" href="http://www.liulianxun.com/tags-237.html">grep前后几行<span class="tag-count"> (34)</span></a></li>
<li><a title="hashmap转list" href="http://www.liulianxun.com/tags-244.html">hashmap转list<span class="tag-count"> (35)</span></a></li>
<li><a title="c++ 字符串查找" href="http://www.liulianxun.com/tags-287.html">c++ 字符串查找<span class="tag-count"> (35)</span></a></li>
<li><a title="mysql刷新权限" href="http://www.liulianxun.com/tags-316.html">mysql刷新权限<span class="tag-count"> (34)</span></a></li>
</ul>

</dd>
</dl>
        </div>
            </div>
</div>



</div>
<div class="footer">
    <div class="wide ta-c f-12">
                    </div>
</div>


<div class="fixed-box ">
    <ul>
        <li class="pchide wapflex"><a href="http://www.liulianxun.com/"><i class="fa fa-home"></i> 首页</a></li>
                        <li><a href="http://www.liulianxun.com/shoulu.html" title="收录申请" target="_blank"><i class="fa fa-chain-broken mr5"></i>收录</a></li>
                                <li><span class="gotop"><i class="fa fa-caret-up mr5"></i> 顶部</span></li>
    </ul>
</div>
<script src="http://www.liulianxun.com/zb_users/theme/tx_hao/script/txcstx.min.js?v=2024-12-04"></script>
</body>
</html><!--196.52 ms , 13 queries , 3403kb memory , 0 error-->