Home
last modified time | relevance | path

Searched refs:iloc (Results 201 – 225 of 1383) sorted by relevance

12345678910>>...56

/dports/math/py-pandas/pandas-1.2.5/pandas/tests/series/methods/
H A Dtest_sort_values.py78 s = df.iloc[:, 0]
153 expected = df.iloc[[1, 2, 5, 0, 3, 4]]
158 expected = df.iloc[[2, 1, 5, 4, 3, 0]]
203 expected = series.iloc[[0, 4, 3, 1, 2, 5]]
207 expected = series.iloc[[0, 4, 3, 1, 2, 5]]
211 expected = series.iloc[[0, 4, 3, 1, 2, 5]]
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/io/parser/
H A Dtest_network.py100 tm.assert_frame_equal(tips_df.iloc[:10], df)
107 tm.assert_frame_equal(tips_df.iloc[:10], df)
119 tm.assert_frame_equal(tips_df.iloc[:10], df)
138 true_df = tips_df.iloc[
160 true_df = tips_df.iloc[
200 tm.assert_frame_equal(tips_df.iloc[:10], df)
/dports/finance/py-mplfinance/mplfinance-0.12.7a17/src/mplfinance/
H A D_widths.py162 return s.iloc[0]
164 v1 = s1.iloc[-1]
168 return s.iloc[-1]
170 v2 = s2.iloc[0]
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/hotint/HotInt_V1/ElementsLib/rigid/
H A DRigid3DKardan.h91 virtual const double& XGP(int iloc) const {return GetXact(ltg.Get(iloc+SOS()));} in XGP() argument
92 virtual const double& XGPD(int iloc) const {return mbs->GetDrawValue(ltg.Get(iloc+SOS()));} in XGPD() argument
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/io/
H A Dtest_orc.py102 got = read_orc(inputfile).iloc[:10]
143 got = read_orc(inputfile).iloc[:10]
184 got = read_orc(inputfile).iloc[:10]
225 got = read_orc(inputfile).iloc[:10]
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/base/
H A Dtest_misc.py135 assert index[0] == series.iloc[0]
136 assert index[5] == series.iloc[5]
137 assert index[-1] == series.iloc[-1]
147 series.iloc[size]
/dports/biology/py-resdk/resdk-13.8.0/tests/functional/tables/
H A De2e_tables.py43 self.assertEqual(self.ct.rc.iloc[0, 0], 792)
44 self.assertIsInstance(self.ct.rc.iloc[0, 0], np.int64)
50 self.assertAlmostEqual(self.ct.exp.iloc[0, 0], 19.447467, places=3)
51 self.assertIsInstance(self.ct.exp.iloc[0, 0], np.float64)
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/tests/
H A Dtest_tsa_tools.py304 expected = expected.iloc[3:]
313 assert_frame_equal(lags, expected.iloc[:, 4:])
317 assert_frame_equal(lags, expected.iloc[:, 4:])
318 assert_frame_equal(lead, expected.iloc[:, :4])
363 assert_frame_equal(lags, expected.iloc[:, 4:])
367 assert_frame_equal(lags, expected.iloc[:, 4:])
368 assert_frame_equal(lead, expected.iloc[:, :4])
421 assert_frame_equal(lags, expected.iloc[:, 1:])
436 expected = expected.iloc[3:]
760 for c in data.iloc[:, :2]:
[all …]
/dports/math/spooles/spooles.2.2/MPI/src/
H A DsplitDenseMtx.c643 int iglob, iloc = 0 ; in DenseMtx_MPI_splitFromGlobalByRows() local
645 DenseMtx_copyRowAndIndex(Xlocal, iloc, Xglobal, iglob) ; in DenseMtx_MPI_splitFromGlobalByRows()
646 iloc++ ; in DenseMtx_MPI_splitFromGlobalByRows()
907 int count, iglob, iloc, incount, nrowXglobal ; in DenseMtx_MPI_mergeToGlobalByRows() local
925 for ( iloc = iglob = 0 ; iloc < nrowXloc ; iloc++, iglob++ ) { in DenseMtx_MPI_mergeToGlobalByRows()
926 DenseMtx_copyRowAndIndex(Xglobal, iglob, Xlocal, iloc) ; in DenseMtx_MPI_mergeToGlobalByRows()
958 for ( iloc = 0 ; iloc < incount ; iloc++, iglob++ ) { in DenseMtx_MPI_mergeToGlobalByRows()
959 DenseMtx_copyRowAndIndex(Xglobal, iglob, tempmtx, iloc) ; in DenseMtx_MPI_mergeToGlobalByRows()
/dports/math/spooles-mpich/spooles.2.2/MPI/src/
H A DsplitDenseMtx.c643 int iglob, iloc = 0 ; in DenseMtx_MPI_splitFromGlobalByRows() local
645 DenseMtx_copyRowAndIndex(Xlocal, iloc, Xglobal, iglob) ; in DenseMtx_MPI_splitFromGlobalByRows()
646 iloc++ ; in DenseMtx_MPI_splitFromGlobalByRows()
907 int count, iglob, iloc, incount, nrowXglobal ; in DenseMtx_MPI_mergeToGlobalByRows() local
925 for ( iloc = iglob = 0 ; iloc < nrowXloc ; iloc++, iglob++ ) { in DenseMtx_MPI_mergeToGlobalByRows()
926 DenseMtx_copyRowAndIndex(Xglobal, iglob, Xlocal, iloc) ; in DenseMtx_MPI_mergeToGlobalByRows()
958 for ( iloc = 0 ; iloc < incount ; iloc++, iglob++ ) { in DenseMtx_MPI_mergeToGlobalByRows()
959 DenseMtx_copyRowAndIndex(Xglobal, iglob, tempmtx, iloc) ; in DenseMtx_MPI_mergeToGlobalByRows()
/dports/math/spooles-mpich/spooles.2.2_SHARED/MPI/src/
H A DsplitDenseMtx.c643 int iglob, iloc = 0 ; in DenseMtx_MPI_splitFromGlobalByRows() local
645 DenseMtx_copyRowAndIndex(Xlocal, iloc, Xglobal, iglob) ; in DenseMtx_MPI_splitFromGlobalByRows()
646 iloc++ ; in DenseMtx_MPI_splitFromGlobalByRows()
907 int count, iglob, iloc, incount, nrowXglobal ; in DenseMtx_MPI_mergeToGlobalByRows() local
925 for ( iloc = iglob = 0 ; iloc < nrowXloc ; iloc++, iglob++ ) { in DenseMtx_MPI_mergeToGlobalByRows()
926 DenseMtx_copyRowAndIndex(Xglobal, iglob, Xlocal, iloc) ; in DenseMtx_MPI_mergeToGlobalByRows()
958 for ( iloc = 0 ; iloc < incount ; iloc++, iglob++ ) { in DenseMtx_MPI_mergeToGlobalByRows()
959 DenseMtx_copyRowAndIndex(Xglobal, iglob, tempmtx, iloc) ; in DenseMtx_MPI_mergeToGlobalByRows()
/dports/math/spooles/spooles.2.2_SHARED/MPI/src/
H A DsplitDenseMtx.c643 int iglob, iloc = 0 ; in DenseMtx_MPI_splitFromGlobalByRows() local
645 DenseMtx_copyRowAndIndex(Xlocal, iloc, Xglobal, iglob) ; in DenseMtx_MPI_splitFromGlobalByRows()
646 iloc++ ; in DenseMtx_MPI_splitFromGlobalByRows()
907 int count, iglob, iloc, incount, nrowXglobal ; in DenseMtx_MPI_mergeToGlobalByRows() local
925 for ( iloc = iglob = 0 ; iloc < nrowXloc ; iloc++, iglob++ ) { in DenseMtx_MPI_mergeToGlobalByRows()
926 DenseMtx_copyRowAndIndex(Xglobal, iglob, Xlocal, iloc) ; in DenseMtx_MPI_mergeToGlobalByRows()
958 for ( iloc = 0 ; iloc < incount ; iloc++, iglob++ ) { in DenseMtx_MPI_mergeToGlobalByRows()
959 DenseMtx_copyRowAndIndex(Xglobal, iglob, tempmtx, iloc) ; in DenseMtx_MPI_mergeToGlobalByRows()
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/exponential_smoothing/
H A Dbase.py451 iloc = 0
453 iloc = self.nobs
455 iloc, _, _ = self.model._get_index_loc(anchor)
456 if isinstance(iloc, slice):
457 iloc = iloc.start
458 iloc += 1 # anchor is one before start of prediction/simulation
460 if iloc < 0:
461 iloc = self.nobs + iloc
462 if iloc > self.nobs:
464 return iloc
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/indexing/multiindex/
H A Dtest_loc.py96 expected = df.iloc[[0, 1]].droplevel(0)
101 expected = df.iloc[:, [2]].droplevel(0, axis=1)
111 expected = df.iloc[[0, 1]]
121 expected = df.iloc[[0, 1]].droplevel(0)
213 expected = s.iloc[[6, 7, 8, 12, 13, 14]]
236 expected = df.iloc[2:]
241 expected = df.iloc[0:2]
343 expected = s.iloc[pos]
448 expected.iloc[:, 2] = np.arange(4)
572 expected = df2.iloc[[0]].droplevel(None)
[all …]
/dports/biology/py-orange3-single-cell/orange3-single-cell-0.8.2/orangecontrib/single_cell/tests/
H A Dtest_owloaddata.py98 df.iloc[0, 0] = 4
99 df.iloc[0, 1] = 4
100 df.iloc[0, 2] = 6
298 self.assertEqual(attribute.name, df.iloc[i, 0])
299 self.assertEqual(attribute.attributes["Id"], df.iloc[i, 0])
300 self.assertEqual(attribute.attributes["Gene"], df.iloc[i, 1])
303 array = np.zeros((df.iloc[0, 1], df.iloc[0, 0]))
307 array[series.iloc[1] - 1, series.iloc[0] - 1] = series.iloc[2]
/dports/science/afni/afni-AFNI_21.3.16/src/
H A Dplug_extract.c48 int iloc; member
412 ud->iloc = -1; in EXTRACT_main()
431 ud->iloc = PLUTO_get_number(plint) ; /* get number item */ in EXTRACT_main()
478 if (ud->iloc == -1 && ud->xloc == -1) in EXTRACT_main()
487 if (ud->iloc != -1 && ud->xloc != -1) in EXTRACT_main()
500 if (ud->iloc != -1) in EXTRACT_main()
504 ud->indvect = extract_index (ud->strin, ud->iloc, ud->ncols, &itmp, &Err); in EXTRACT_main()
652 if (ud->iloc != -1) /* for each ncall, find out if this index is wanted*/ in EXTRACT_tsfunc()
722 printf ("ud->iloc= %d\n",ud->iloc); in show_ud()
751 fprintf (ud->outlogfile,"ud->iloc= %d\n",ud->iloc); in write_ud()
/dports/science/py-lifelines/lifelines-0.19.5/lifelines/fitters/
H A Daalen_additive_fitter.py173 self._predicted_hazards_ = self.predict_cumulative_hazard(X).iloc[-1].values.ravel()
185 hazards = pd.DataFrame(hazards_, columns=columns, index=index).iloc[:stop]
188 pd.DataFrame(variance_hazards_, columns=columns, index=index).iloc[:stop].cumsum()
399 def plot(self, columns=None, loc=None, iloc=None, **kwargs): argument
415 assert loc is None or iloc is None, "Cannot set both loc and iloc in call to .plot"
421 def create_df_slicer(loc, iloc): argument
424 if iloc is None and loc is None:
427 user_submitted_ix = loc if loc is not None else iloc
431 subset_df = create_df_slicer(loc, iloc)
/dports/shells/xonsh/xonsh-0.7.9/xonsh/
H A Dlazyjson.py83 iloc = 69
85 dloc = iloc + ilen + 11
88 index=jdx, data=data, iloc=iloc, ilen=ilen, dloc=dloc, dlen=dlen
238 self.iloc, self.ilen, self.dloc, self.dlen = locs
240 f.seek(self.iloc)
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/statespace/tests/
H A Dkfas_helpers.py33 dta[key] = kfas.iloc[:, ix:ix + length].fillna(0)
45 [np.diag(x) for y, x in dta['F'].iloc[:n].iterrows()]].T
47 [np.diag(x) for y, x in dta['Finf'].iloc[:n].iterrows()]].T
73 [np.diag(x) for y, x in dta['V_eps'].iloc[:n].iterrows()]].T
H A Dtest_representation.py107 self.true_states.iloc[:, 0], 4
111 self.true_states.iloc[:, 1], 4
115 self.true_states.iloc[:, 2], 4
204 self.true_states.iloc[:, 0], 4
208 self.true_states.iloc[:, 1], 4
212 self.true_states.iloc[:, 2], 4
362 self.true_states.iloc[:, 0], 4
366 self.true_states.iloc[:, 1], 4
370 self.true_states.iloc[:, 2], 4
374 self.true_states.iloc[:, 3], 4
[all …]
/dports/devel/ga/ga-5.8/global/examples/md_cluster/
H A Dcluster.F260 iloc = 0
330 iloc = i
366 iloc = i
438 iloc = 0
571 iloc = 0
613 integer iat, iloc, isav
648 rx = cl_old(iloc,1,2) - cl_cm_old(1)
649 ry = cl_old(iloc,2,2) - cl_cm_old(2)
650 rz = cl_old(iloc,3,2) - cl_cm_old(3)
651 vx = cl_old(iloc,1,3) - cl_vcm_old(1)
[all …]
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/statespace/
H A Dmlemodel.py1934 iloc = 0
1940 iloc = iloc.start
1942 if iloc < 0:
1943 iloc = self.nobs + iloc
1999 iloc, iloc + nsimulations - 1)
2129 iloc = iloc.start
2132 iloc = self.nobs + iloc
2172 tmp[:] = self['state_cov', :, :, iloc:iloc + 1]
2176 tmp[:] = self['selection', :, :, iloc:iloc + 1]
3466 iloc = iloc.start
[all …]
/dports/comms/wsjtz/wsjtx/lib/
H A Dmsk144sync.f9014 integer iloc(1) local
90 iloc=maxloc(xcc)
91 ic2=iloc(1)
H A Dmsk40sync.f9014 integer iloc(1) local
92 iloc=maxloc(xcc)
93 ic2=iloc(1)
/dports/misc/py-xgboost/xgboost-1.5.1/demo/guide-python/
H A Dcategorical.py29 label = df.iloc[:, 0]
30 df = df.iloc[:, 1:]
32 label += df.iloc[:, i]

12345678910>>...56