Home
last modified time | relevance | path

Searched refs:iloc (Results 176 – 200 of 1383) sorted by relevance

12345678910>>...56

/dports/math/py-pandas/pandas-1.2.5/pandas/tests/indexing/interval/
H A Dtest_interval.py17 expected = s.iloc[:3]
22 expected = s.iloc[1:4]
27 expected = s.iloc[2:5]
94 expected = df.iloc[4:6]
102 expected = df.iloc[4:6]
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/frame/methods/
H A Dtest_describe.py46 result = df.iloc[:0].describe()
131 assert np.isnan(result.iloc[2, 0])
132 assert np.isnan(result.iloc[3, 0])
187 0: [5, 30, df.iloc[:, 0].std(), 10, 20, 30, 40, 50],
188 1: [5, 30, df.iloc[:, 1].std(), 10, 20, 30, 40, 50],
208 df.iloc[:, 0].std(),
218 df.iloc[:, 1].std(),
H A Dtest_align.py45 other = float_frame.iloc[:-5, :3]
64 other = float_frame.iloc[:-5, :3].copy()
87 other.iloc[:, 0], join="inner", axis=1, method=None, fill_value=None
92 other.iloc[:, 0], join="inner", axis=1, method=None, fill_value=0
99 float_frame.align(af.iloc[0, :3], join="inner", axis=2)
147 other.iloc[:, 0], join="inner", axis=1, method=None, fill_value=0
155 other.iloc[:, 0], join="inner", axis=1, method=None, fill_value=0
280 left = frame.iloc[0:4, :10]
281 right = frame.iloc[2:, 6:]
282 empty = frame.iloc[:0, :0]
/dports/science/dftbplus/dftbplus-19.1/prog/dftb+/lib_elecsolvers/
H A Delsicsc.F90722 integer :: j2, iloc, jloc
731 do iloc = 1, size(loc, dim=1)
732 val(colptr(j2) + rowOffset + iloc - 1) = val(colptr(j2) + rowOffset + iloc - 1)&
733 & + loc(iloc, jloc)
734 rowIndLocal(colptr(j2) + rowOffset + iloc - 1) = iloc + ii - 1
740 do iloc = 1, size(loc, dim=1)
741 val(colptr(j2) + rowOffset + iloc - 1) = val(colptr(j2) + rowOffset+iloc - 1)&
742 & + loc(iloc, jloc)
778 integer :: j2, iloc
784 iloc = blockRow + colptr(jj-colStart+j2) - 1
[all …]
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/statespace/tests/
H A Dtest_varmax.py180 true['predict'] = var_results.iloc[1:][['predict_1',
239 true['predict'] = var_results.iloc[1:][['predict_diag1',
310 true['predict'] = var_results.iloc[1:][['predict_diag1',
408 true['predict'] = var_results.iloc[1:][['predict_int1',
446 true['predict'].iloc[0, :] = 0
554 true['predict'].iloc[0, :] = 0
687 true['dynamic_predict'] = varmax_results.iloc[1:][[
786 true['dynamic_predict'] = varmax_results.iloc[1:][[
1189 dta = np.log(dta).diff().iloc[1:]
1191 endog = dta.iloc[:, :2]
[all …]
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/worklet/cosmotools/
H A DMarkActiveNeighbors.h131 vtkm::Vec<T, 3> iloc = location.Get(iPartId); in operator() local
133 T xDist = iloc[0] - jloc[0]; in operator()
134 T yDist = iloc[1] - jloc[1]; in operator()
135 T zDist = iloc[2] - jloc[2]; in operator()
H A DGraftParticles.h134 vtkm::Vec<T, 3> iloc = location.Get(iPartId); in operator() local
136 T xDist = iloc[0] - jloc[0]; in operator()
137 T yDist = iloc[1] - jloc[1]; in operator()
138 T zDist = iloc[2] - jloc[2]; in operator()
/dports/math/py-statsmodels/statsmodels-0.13.1/examples/python/
H A Drecursive_ls.py111 window = series.iloc[t - n_window:t + n_window + 1].values
115 index=series.iloc[n_window:-n_window].index)
119 np.log(m2["M2SL"].resample("QS").mean()).diff().iloc[1:], 0.95, 10 * 4)
121 np.log(cpi["CPIAUCSL"].resample("QS").mean()).diff().iloc[1:], 0.95,
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/hotint/HotInt_V1/ElementsLib/beams/
H A DBeam2DaFFRF.h105 virtual const double& XGP(int iloc) const {return GetXact(ltg.Get(iloc+SOS()));} in XGP() argument
107 virtual const double& XGPD(int iloc) const {return GetDrawValue(ltg.Get(iloc+SOS()));} in XGPD() argument
342 virtual const double& XGP(int iloc) const {return GetXact(ltg.Get(iloc+SOS()));} in XGP() argument
355 virtual const double& GetDrawValue(int iloc) const in GetDrawValue() argument
357 if (IsCMS()) return ReferenceFrame().GetDrawValueFull(iloc); in GetDrawValue()
358 else return mbs->GetDrawValue(iloc); in GetDrawValue()
/dports/multimedia/ccextractor/ccextractor-0.85/src/gpacmp4/
H A Disom_store.c190 if (iloc->data_reference_index) continue; in ShiftMetaOffset()
191 if (iloc->construction_method == 2) continue; in ShiftMetaOffset()
192 if (!iloc->base_offset) { in ShiftMetaOffset()
198 iloc->base_offset += offset; in ShiftMetaOffset()
412 if (iinf->item_ID == iloc->item_ID) break; in DoWriteMeta()
416 if (!iloc->base_offset && (gf_list_count(iloc->extent_entries) == 1)) { in DoWriteMeta()
426 if (!iloc->data_reference_index) { in DoWriteMeta()
427 if (iloc->construction_method != 2) { in DoWriteMeta()
428 iloc->base_offset = baseOffset; in DoWriteMeta()
449 gf_list_add(iloc->extent_entries, entry); in DoWriteMeta()
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/oneD/
H A DSim1D.cpp55 size_t iloc = domain(dom).loc() + domain(dom).index(comp, localPoint); in setValue() local
56 AssertThrowMsg(iloc < m_x.size(), "Sim1D::setValue", in setValue()
57 "Index out of bounds: {} > {}", iloc, m_x.size()); in setValue()
58 m_x[iloc] = value; in setValue()
63 size_t iloc = domain(dom).loc() + domain(dom).index(comp, localPoint); in value() local
64 AssertThrowMsg(iloc < m_x.size(), "Sim1D::value", in value()
65 "Index out of bounds: {} > {}", iloc, m_x.size()); in value()
66 return m_x[iloc]; in value()
72 AssertThrowMsg(iloc < m_x.size(), "Sim1D::workValue", in workValue()
73 "Index out of bounds: {} > {}", iloc, m_x.size()); in workValue()
[all …]
/dports/math/py-arviz/arviz-0.11.4/arviz/plots/backends/bokeh/
H A Dcompareplot.py60 comp_df[information_criterion].iloc[1:], yticks_pos[1::2], comp_df.dse[1:]
67 comp_df[information_criterion].iloc[1:],
122 location=comp_df[information_criterion].iloc[0],
133 scale = comp_df[scale_col].iloc[0].capitalize()
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/worklet/cosmotools/
H A DMarkActiveNeighbors.h141 vtkm::Vec<T, 3> iloc = location.Get(iPartId); in operator() local
143 T xDist = iloc[0] - jloc[0]; in operator()
144 T yDist = iloc[1] - jloc[1]; in operator()
145 T zDist = iloc[2] - jloc[2]; in operator()
H A DGraftParticles.h144 vtkm::Vec<T, 3> iloc = location.Get(iPartId); in operator() local
146 T xDist = iloc[0] - jloc[0]; in operator()
147 T yDist = iloc[1] - jloc[1]; in operator()
148 T zDist = iloc[2] - jloc[2]; in operator()
/dports/print/tex-luatex/texlive-20150521-source/texk/web2c/luatexdir/tex/
H A Dtextoken.w1004 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1018 iloc = iloc + 11;
1023 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1024 && (cur_chr == buffer[iloc + 3]) && ((iloc + 8) <= ilimit)) {
1033 iloc = iloc + 9;
1047 iloc = iloc + 7;
1054 iloc = iloc + 2;
1123 cur_cs = id_lookup(iloc, k - iloc);
1124 iloc = k;
1371 iloc = token_link(iloc); /* move to next */
[all …]
/dports/devel/tex-synctex/texlive-20150521-source/texk/web2c/luatexdir/tex/
H A Dtextoken.w1004 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1018 iloc = iloc + 11;
1023 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1024 && (cur_chr == buffer[iloc + 3]) && ((iloc + 8) <= ilimit)) {
1033 iloc = iloc + 9;
1047 iloc = iloc + 7;
1054 iloc = iloc + 2;
1123 cur_cs = id_lookup(iloc, k - iloc);
1124 iloc = k;
1371 iloc = token_link(iloc); /* move to next */
[all …]
/dports/devel/tex-web2c/texlive-20150521-source/texk/web2c/luatexdir/tex/
H A Dtextoken.w1004 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1018 iloc = iloc + 11;
1023 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1024 && (cur_chr == buffer[iloc + 3]) && ((iloc + 8) <= ilimit)) {
1033 iloc = iloc + 9;
1047 iloc = iloc + 7;
1054 iloc = iloc + 2;
1123 cur_cs = id_lookup(iloc, k - iloc);
1124 iloc = k;
1371 iloc = token_link(iloc); /* move to next */
[all …]
/dports/japanese/tex-ptex/texlive-20150521-source/texk/web2c/luatexdir/tex/
H A Dtextoken.w1004 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1018 iloc = iloc + 11;
1023 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1024 && (cur_chr == buffer[iloc + 3]) && ((iloc + 8) <= ilimit)) {
1033 iloc = iloc + 9;
1047 iloc = iloc + 7;
1054 iloc = iloc + 2;
1123 cur_cs = id_lookup(iloc, k - iloc);
1124 iloc = k;
1371 iloc = token_link(iloc); /* move to next */
[all …]
/dports/print/tex-basic-engines/texlive-20150521-source/texk/web2c/luatexdir/tex/
H A Dtextoken.w1004 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1018 iloc = iloc + 11;
1023 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1024 && (cur_chr == buffer[iloc + 3]) && ((iloc + 8) <= ilimit)) {
1033 iloc = iloc + 9;
1047 iloc = iloc + 7;
1054 iloc = iloc + 2;
1123 cur_cs = id_lookup(iloc, k - iloc);
1124 iloc = k;
1371 iloc = token_link(iloc); /* move to next */
[all …]
/dports/print/tex-aleph/texlive-20150521-source/texk/web2c/luatexdir/tex/
H A Dtextoken.w1004 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1018 iloc = iloc + 11;
1023 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1024 && (cur_chr == buffer[iloc + 3]) && ((iloc + 8) <= ilimit)) {
1033 iloc = iloc + 9;
1047 iloc = iloc + 7;
1054 iloc = iloc + 2;
1123 cur_cs = id_lookup(iloc, k - iloc);
1124 iloc = k;
1371 iloc = token_link(iloc); /* move to next */
[all …]
/dports/print/tex-xetex/texlive-20150521-source/texk/web2c/luatexdir/tex/
H A Dtextoken.w1004 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1018 iloc = iloc + 11;
1023 if ((cur_chr == buffer[iloc + 1]) && (cur_chr == buffer[iloc + 2])
1024 && (cur_chr == buffer[iloc + 3]) && ((iloc + 8) <= ilimit)) {
1033 iloc = iloc + 9;
1047 iloc = iloc + 7;
1054 iloc = iloc + 2;
1123 cur_cs = id_lookup(iloc, k - iloc);
1124 iloc = k;
1371 iloc = token_link(iloc); /* move to next */
[all …]
/dports/graphics/py-altair/altair-4.1.0/altair/utils/tests/
H A Dtest_utils.py52 df.iloc[0, df.columns.get_loc("s")] = None
53 df.iloc[0, df.columns.get_loc("f")] = np.nan
54 df.iloc[0, df.columns.get_loc("d")] = pd.NaT
55 df.iloc[0, df.columns.get_loc("o")] = np.array(np.nan)
82 df.iloc[0, df.columns.get_loc("o")] = np.nan
/dports/math/py-pandas/pandas-1.2.5/pandas/core/window/
H A Dcommon.py60 results[i] = f(arg1.iloc[:, i], arg2.iloc[:, i])
89 *prep_binary(arg1.iloc[:, i], arg2.iloc[:, j])
156 i: f(*prep_binary(arg1.iloc[:, i], arg2))
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/hotint/HotInt_V1/ElementsLib/solidFE/
H A DFiniteElementGeneric.h118 virtual const double& XGP(int iloc) const {return GetXact(ltg.Get(iloc+XGLength()));} in XGP() argument
119 virtual const double& XGPD(int iloc) const {return GetDrawValue(ltg.Get(iloc+XGLength()));} in XGPD() argument
122 virtual const double& GetDrawValue(int iloc) const { return mbs->GetDrawValue(iloc); } in GetDrawValue() argument
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/indexing/
H A Dtest_datetime.py19 df.iloc[1, 1] = pd.NaT
20 df.iloc[1, 2] = pd.NaT
23 result = df.iloc[1]
42 result = df.iloc[5]
53 expected = df.iloc[4:]
88 result = df.iloc[0, 0]

12345678910>>...56