根据时间融合气体分析仪和气象站的数据
1. dataframe数据结构和numpy数据结构,通过for循环遍历气象站数据到3400行(共16000行左右)时,变得特别慢,最后通过numpy向量化解决速度问题,详细尝试过程见函数GasAnalyzer.merge_data; 2. 拼接dataframe时需要加上关键字参数ignore_index=True,否则会记录拼接前的行信息,对后面的遍历造成不利影像,例如访问第一行,会返回多个值;
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2329
sampledata/气象站/2022_08_13/10_24_37.dat
Normal file
2329
sampledata/气象站/2022_08_13/10_24_37.dat
Normal file
File diff suppressed because it is too large
Load Diff
2339
sampledata/气象站/2022_08_13/11_08_22.dat
Normal file
2339
sampledata/气象站/2022_08_13/11_08_22.dat
Normal file
File diff suppressed because it is too large
Load Diff
1716
sampledata/气象站/2022_08_13/11_45_01.dat
Normal file
1716
sampledata/气象站/2022_08_13/11_45_01.dat
Normal file
File diff suppressed because it is too large
Load Diff
2023
sampledata/气象站/2022_08_13/15_34_06.dat
Normal file
2023
sampledata/气象站/2022_08_13/15_34_06.dat
Normal file
File diff suppressed because it is too large
Load Diff
1716
sampledata/气象站/2022_08_13/16_08_00.dat
Normal file
1716
sampledata/气象站/2022_08_13/16_08_00.dat
Normal file
File diff suppressed because it is too large
Load Diff
1532
sampledata/气象站/2022_08_13/16_27_24.dat
Normal file
1532
sampledata/气象站/2022_08_13/16_27_24.dat
Normal file
File diff suppressed because it is too large
Load Diff
1655
sampledata/气象站/2022_08_13/16_45_31.dat
Normal file
1655
sampledata/气象站/2022_08_13/16_45_31.dat
Normal file
File diff suppressed because it is too large
Load Diff
1593
sampledata/气象站/2022_08_13/17_03_31.dat
Normal file
1593
sampledata/气象站/2022_08_13/17_03_31.dat
Normal file
File diff suppressed because it is too large
Load Diff
1839
sampledata/气象站/2022_08_13/17_32_34.dat
Normal file
1839
sampledata/气象站/2022_08_13/17_32_34.dat
Normal file
File diff suppressed because it is too large
Load Diff
1900
sampledata/气象站/2022_08_14/11_03_55.dat
Normal file
1900
sampledata/气象站/2022_08_14/11_03_55.dat
Normal file
File diff suppressed because it is too large
Load Diff
2023
sampledata/气象站/2022_08_14/11_26_59.dat
Normal file
2023
sampledata/气象站/2022_08_14/11_26_59.dat
Normal file
File diff suppressed because it is too large
Load Diff
1655
sampledata/气象站/2022_08_14/12_11_36.dat
Normal file
1655
sampledata/气象站/2022_08_14/12_11_36.dat
Normal file
File diff suppressed because it is too large
Load Diff
2063
sampledata/气象站/2022_08_14/12_36_43.dat
Normal file
2063
sampledata/气象站/2022_08_14/12_36_43.dat
Normal file
File diff suppressed because it is too large
Load Diff
1655
sampledata/气象站/2022_08_14/13_00_12.dat
Normal file
1655
sampledata/气象站/2022_08_14/13_00_12.dat
Normal file
File diff suppressed because it is too large
Load Diff
1839
sampledata/气象站/2022_08_14/13_21_05.dat
Normal file
1839
sampledata/气象站/2022_08_14/13_21_05.dat
Normal file
File diff suppressed because it is too large
Load Diff
1655
sampledata/气象站/2022_08_14/13_41_20.dat
Normal file
1655
sampledata/气象站/2022_08_14/13_41_20.dat
Normal file
File diff suppressed because it is too large
Load Diff
1042
sampledata/气象站/2022_08_14/15_07_02.dat
Normal file
1042
sampledata/气象站/2022_08_14/15_07_02.dat
Normal file
File diff suppressed because it is too large
Load Diff
1348
sampledata/气象站/2022_08_14/15_22_44.dat
Normal file
1348
sampledata/气象站/2022_08_14/15_22_44.dat
Normal file
File diff suppressed because it is too large
Load Diff
1655
sampledata/气象站/2022_08_14/15_43_27.dat
Normal file
1655
sampledata/气象站/2022_08_14/15_43_27.dat
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user