content
large_stringlengths
3
20.5k
url
large_stringlengths
53
192
branch
large_stringclasses
4 values
source
large_stringclasses
51 values
embeddings
listlengths
384
384
score
float64
-0.21
0.65
from zoneinfo import ZoneInfo # zoneinfo (default when using Olson strings) rng\_zi = pd.date\_range("3/6/2012 00:00", periods=3, freq="D", tz="Europe/London") rng\_zi.tz # dateutil rng\_dateutil = pd.date\_range("3/6/2012 00:00", periods=3, freq="D") rng\_dateutil = rng\_dateutil.tz\_localize("dateutil/Europe/London")...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/timeseries.rst
main
pandas
[ 0.017088407650589943, -0.010312782600522041, -0.01921977289021015, 0.001484030275605619, -0.010045384988188744, -0.03346744552254677, -0.029594285413622856, 0.0088507616892457, -0.04624110087752342, -0.016503410413861275, -0.019956335425376892, -0.08653140813112259, -0.09711670130491257, -...
-0.043356
10, 27, 1, 30, 0, 0), tz="dateutil/Europe/London", fold=0, ) pd.Timestamp( year=2019, month=10, day=27, hour=1, minute=30, tz="dateutil/Europe/London", fold=1, ) .. \_timeseries.timezone\_ambiguous: Ambiguous times when localizing ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``tz\_localize`` may not be able to determine the UTC off...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/timeseries.rst
main
pandas
[ -0.07153814285993576, 0.03300347551703453, 0.021662713959813118, -0.0016207773005589843, 0.03511042147874832, -0.062482692301273346, -0.051585469394922256, 0.028371993452310562, -0.05219248682260513, -0.028665220364928246, 0.021889764815568924, -0.12762807309627533, -0.08595037460327148, 0...
-0.027428
python pd.Series(s\_aware.to\_numpy(dtype=object))
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/timeseries.rst
main
pandas
[ -0.07547768950462341, -0.08982225507497787, -0.03375457599759102, 0.01563272997736931, -0.01273155864328146, -0.0330372117459774, -0.032012734562158585, -0.03872969374060631, 0.019827773794531822, -0.03414437547326088, -0.0077874199487268925, -0.0026012416929006577, -0.05701019614934921, -...
0.120639
.. \_basics: {{ header }} ============================== Essential basic functionality ============================== Here we discuss a lot of the essential functionality common to the pandas data structures. To begin, let's create some example objects like we did in the :ref:`10 minutes to pandas <10min>` section: .. ...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.02839665673673153, -0.007562311366200447, 0.07395020872354507, 0.0018466684268787503, 0.05663950368762016, -0.04734937101602554, -0.03649104759097099, -0.022814808413386345, 0.006188428495079279, 0.0017168006161227822, 0.00684167817234993, -0.01107074972242117, -0.08157812058925629, -0....
0.059175
the past, pandas recommended :attr:`Series.values` or :attr:`DataFrame.values` for extracting the data from a Series or DataFrame. You'll still find references to these in old code bases and online. Going forward, we recommend avoiding ``.values`` and using ``.array`` or ``.to\_numpy()``. ``.values`` has the following ...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.04590850695967674, -0.04777420684695244, -0.060389406979084015, 0.030216356739401817, 0.08481280505657196, -0.06956770271062851, -0.0227397121489048, 0.0031967624090611935, 0.00835057720541954, -0.024401620030403137, 0.0010456269374117255, 0.02628893218934536, -0.11698700487613678, -0.0...
0.012725
data / operations with fill values ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In Series and DataFrame, the arithmetic functions have the option of inputting a \*fill\_value\*, namely a value to substitute when at most one of the values at a location are missing. For example, when adding two DataFrame objects, you may w...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.03812211751937866, -0.06701134890317917, -0.011898064985871315, -0.06038202345371246, -0.004069027956575155, -0.0856664776802063, -0.020798131823539734, -0.03717915341258049, -0.008201361633837223, 0.004268184304237366, 0.022301720455288887, -0.01826518028974533, -0.03735820949077606, -...
-0.014782
A problem occasionally arising is the combination of two similar data sets where values in one are preferred over the other. An example would be two data series representing a particular economic indicator where one is considered to be of "higher quality". However, the lower quality series might extend further back in ...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.0049568903632462025, -0.013408089987933636, 0.009759400971233845, -0.013948396779596806, 0.04681282117962837, -0.020850636065006256, 0.022453445941209793, -0.0438789501786232, -0.026405291631817818, -0.045957423746585846, 0.05514676123857498, -0.0026730038225650787, -0.03363685682415962, ...
-0.063994
series[20:500] = np.nan series[10:20] = 5 series.nunique() .. \_basics.describe: Summarizing data: describe ~~~~~~~~~~~~~~~~~~~~~~~~~~ There is a convenient :meth:`~DataFrame.describe` function which computes a variety of summary statistics about a Series or the columns of a DataFrame (excluding NAs of course): .. ipyt...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ 0.015825554728507996, -0.020122135058045387, -0.024420209228992462, -0.04173356667160988, 0.042548373341560364, -0.07572484016418457, 0.011745007708668709, 0.0020958969835191965, -0.009427118115127087, 0.05194130912423134, 0.015884585678577423, -0.07494515180587769, -0.026195628568530083, ...
-0.00887
another library's functions to pandas objects, you should be aware of the three methods below. The appropriate method to use depends on whether your function expects to operate on an entire ``DataFrame`` or ``Series``, row- or column-wise, or elementwise. 1. `Tablewise Function Application`\_: :meth:`~DataFrame.pipe` 2...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.001719770603813231, -0.06471863389015198, -0.031679052859544754, -0.05436414107680321, -0.00851846020668745, -0.10032986849546432, -0.03922335058450699, 0.0640280693769455, -0.02977507933974266, 0.022975580766797066, -0.01618165895342827, -0.0204303078353405, -0.08627160638570786, -0.05...
-0.014317
the axes of a DataFrame using the :meth:`~DataFrame.apply` method, which, like the descriptive statistics methods, takes an optional ``axis`` argument: .. ipython:: python df.apply(lambda x: np.mean(x)) df.apply(lambda x: np.mean(x), axis=1) df.apply(lambda x: x.max() - x.min()) df.apply(np.cumsum) df.apply(np.exp) The...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ 0.034564364701509476, -0.07527264952659607, -0.04407799616456032, -0.04895327240228653, 0.0184063408523798, -0.09133975952863693, -0.07688142359256744, 0.05759059265255928, 0.04240186884999275, 0.056059639900922775, 0.021094894036650658, 0.02766682207584381, -0.03864547237753868, -0.031635...
-0.01608
x.mean()]) Passing a named function will yield that name for the row: .. ipython:: python def mymean(x): return x.mean() tsdf["A"].agg(["sum", mymean]) Aggregating with a dict +++++++++++++++++++++++ Passing a dictionary of column names to a scalar or a list of scalars, to ``DataFrame.agg`` allows you to customize whic...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.05472804605960846, -0.06315671652555466, -0.0219844002276659, -0.013674258254468441, -0.023662526160478592, -0.035053763538599014, 0.0636172667145729, -0.021552005782723427, 0.021265212446451187, 0.026124337688088417, 0.027288593351840973, 0.04533974081277847, 0.02171984501183033, -0.01...
0.003266
"b", "c", "d", "e"] ) t = pd.Series({"six": 6.0, "seven": 7.0}) s s.map(t) .. \_basics.reindexing: Reindexing and altering labels ------------------------------ :meth:`~Series.reindex` is the fundamental data alignment method in pandas. It is used to implement nearly all other features relying on label-alignment functi...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.07058802247047424, -0.025148969143629074, 0.0008812239393591881, -0.02788410149514675, -0.019405921921133995, 0.0031110993586480618, -0.018698563799262047, -0.06577623635530472, -0.01290320698171854, 0.004522018600255251, 0.0918741300702095, -0.005545294843614101, -0.04589695855975151, ...
0.049518
If you pass a Series to :meth:`DataFrame.align`, you can choose to align both objects either on the DataFrame's index or columns using the ``axis`` argument: .. ipython:: python df.align(df2.iloc[0], axis=1) .. \_basics.reindex\_fill: Filling while reindexing ~~~~~~~~~~~~~~~~~~~~~~~~ :meth:`~Series.reindex` takes an op...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.07056190073490143, -0.05061860755085945, -0.025595426559448242, 0.00018925829499494284, -0.03570576012134552, -0.036659590899944305, -0.06768791377544403, -0.017562219873070717, 0.03904558718204498, 0.017054004594683647, -0.05283759534358978, -0.006754265632480383, -0.07381900399923325, ...
-0.024847
follow the dict-like convention of iterating over the "keys" of the objects. In short, basic iteration (``for i in object``) produces: \* \*\*Series\*\*: values \* \*\*DataFrame\*\*: column labels Thus, for example, iterating over a DataFrame gives you the column names: .. ipython:: python df = pd.DataFrame( {"col1": n...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ 0.013669203966856003, -0.03864361345767975, -0.06572717428207397, -0.015478824265301228, 0.04832210764288902, -0.07243572920560837, 0.012159370817244053, -0.03173636645078659, -0.0032983727287501097, -0.005162779241800308, 0.00504682632163167, 0.05868077650666237, -0.08039720356464386, -0....
-0.050718
5, 6]}) print(df2) print(df2.T) df2\_t = pd.DataFrame({idx: values for idx, values in df2.iterrows()}) print(df2\_t) itertuples ~~~~~~~~~~ The :meth:`~DataFrame.itertuples` method will return an iterator yielding a namedtuple for each row in the DataFrame. The first element of the tuple will be the row's corresponding ...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.05167950689792633, -0.04550989344716072, -0.046665579080581665, -0.03827158734202385, 0.06448719650506973, -0.09451667964458466, -0.013834861107170582, -0.01697481982409954, -0.0259921345859766, 0.004774599801748991, 0.04878806322813034, 0.09823662042617798, -0.05710863322019577, -0.092...
0.021973
supports a ``key`` parameter that takes a callable function to apply to the index being sorted. For ``MultiIndex`` objects, the key is applied per-level to the levels specified by ``level``. .. ipython:: python s1 = pd.DataFrame({"a": ["B", "a", "C"], "b": [1, 2, 3], "c": [2, 3, 4]}).set\_index( list("ab") ) s1 .. ipyt...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ 0.01091034896671772, -0.04052641615271568, -0.032700274139642715, -0.04320449009537697, -0.0019155662739649415, -0.016077054664492607, 0.019684795290231705, 0.020464513450860977, 0.003640894079580903, 0.024938490241765976, 0.0007780088926665485, 0.0931142270565033, -0.02463443949818611, -0...
-0.022114
by a MultiIndex column ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You must be explicit about sorting when the column is a MultiIndex, and fully specify all levels to ``by``. .. ipython:: python df1.columns = pd.MultiIndex.from\_tuples( [("a", "one"), ("a", "two"), ("b", "three")] ) df1.sort\_values(by=("a", "two")) Copying -------...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ 0.00227498565800488, -0.08968852460384369, -0.006709006614983082, -0.057013627141714096, 0.060967300087213516, -0.08159349113702774, -0.010944760404527187, -0.053371861577034, -0.01957908272743225, 0.08024860173463821, 0.020296690985560417, 0.05001189559698105, -0.0878497064113617, -0.0403...
-0.063488
DataFrame returns a Series with the data type of each column. .. ipython:: python dft = pd.DataFrame( { "A": np.random.rand(3), "B": 1, "C": "foo", "D": pd.Timestamp("20010102"), "E": pd.Series([1.0] \* 3).astype("float32"), "F": False, "G": pd.Series([1] \* 3, dtype="int8"), } ) dft dft.dtypes On a ``Series`` object, ...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.05368305370211601, -0.08347947895526886, -0.01136643998324871, 0.006822704337537289, 0.07277947664260864, -0.05800183117389679, 0.07353285700082779, -0.037184882909059525, 0.020953558385372162, -0.002168815117329359, -0.07380188256502151, -0.01815553940832615, -0.11465463787317276, 0.05...
0.01846
``[]`` will overwrite them taking the dtype from the right hand side. Therefore the following piece of code produces the unintended result. .. ipython:: python dft = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6], "c": [7, 8, 9]}) dft.loc[:, ["a", "b"]].astype(np.uint8).dtypes dft.loc[:, ["a", "b"]] = dft.loc[:, ["a", "b...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ -0.04086477681994438, -0.024659400805830956, 0.003061207477003336, 0.05447392910718918, 0.05571332946419716, -0.13017839193344116, 0.07147132605314255, 0.0025432754773646593, -0.01968766748905182, -0.02089850977063179, -0.07815023511648178, 0.028508862480521202, -0.1135774776339531, 0.0335...
0.056978
= dfa["A"].astype("float32") dfa.dtypes casted = dfa[df2 > 0] casted casted.dtypes Selecting columns based on ``dtype`` ------------------------------------ .. \_basics.selectdtypes: The :meth:`~DataFrame.select\_dtypes` method implements subsetting of columns based on their ``dtype``. First, let's create a :class:`Dat...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/basics.rst
main
pandas
[ 0.037344492971897125, -0.022837815806269646, -0.022726407274603844, -0.027018841356039047, 0.05919082090258598, -0.05382680892944336, 0.0842520222067833, -0.04404555633664131, -0.046669308096170425, -0.0027969235088676214, 0.02910641022026539, -0.08482960611581802, -0.06645675748586655, 0....
-0.04235
.. \_cookbook: {{ header }} \*\*\*\*\*\*\*\* Cookbook \*\*\*\*\*\*\*\* This is a repository for \*short and sweet\* examples and links for useful pandas recipes. Simplified, condensed, new-user friendly, in-line examples have been inserted where possible to augment the Stack-Overflow and GitHub links. Many of the links...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/cookbook.rst
main
pandas
[ -0.07263930141925812, -0.008824926801025867, -0.0666893869638443, 0.03973279520869255, 0.1030624508857727, -0.027022548019886017, -0.05306978523731232, -0.03155345097184181, -0.010388756170868874, 0.008193406276404858, 0.05345795676112175, 0.010868296958506107, -0.05233735591173172, -0.062...
0.116925
2, 4]))] Use loc for label-oriented slicing and iloc positional slicing :issue:`2904` .. ipython:: python df = pd.DataFrame( {"AAA": [4, 5, 6, 7], "BBB": [10, 20, 30, 40], "CCC": [100, 50, -30, -50]}, index=["foo", "bar", "boo", "kar"], ) There are 2 explicit slicing methods, with a third general case 1. Positional-ori...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/cookbook.rst
main
pandas
[ -0.00791682954877615, 0.01613451912999153, -0.02339690364897251, -0.07197529077529907, 0.0207472313195467, 0.02452068217098713, 0.053334951400756836, -0.02467520348727703, 0.03583783656358719, -0.02637702040374279, 0.0689811035990715, -0.010422666557133198, -0.0655033141374588, 0.027421141...
-0.005963
level and 1st axis the index: .. ipython:: python # Note : level and axis are optional, and default to zero df.xs("BB", level=0, axis=0) ...and now the 2nd level of the 1st axis. .. ipython:: python df.xs("six", level=1, axis=0) `Slicing a MultiIndex with xs, method #2 `\_\_ .. ipython:: python import itertools index =...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/cookbook.rst
main
pandas
[ 0.023405905812978745, -0.06059021130204201, 0.0044354526326060295, -0.06263839453458786, 0.06795619428157806, -0.019081072881817818, 0.05099314823746681, -0.026868833228945732, -0.0690687894821167, 0.02862972393631935, 0.04861549288034439, -0.001318102702498436, -0.023852506652474403, 0.01...
0.014035
in a column based on the index `\_\_ .. ipython:: python df = pd.DataFrame( {"line\_race": [10, 10, 8, 10, 10, 8], "beyer": [99, 102, 103, 103, 88, 100]}, index=[ "Last Gunfighter", "Last Gunfighter", "Last Gunfighter", "Paynter", "Paynter", "Paynter", ], ) df df["beyer\_shifted"] = df.groupby(level=0)["beyer"].shift(1...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/cookbook.rst
main
pandas
[ 0.020836779847741127, 0.004807434510439634, 0.03199964761734009, -0.024921031668782234, 0.04667377471923828, 0.011158515699207783, 0.060266003012657166, -0.07018470764160156, -0.02827753685414791, 0.021660450845956802, 0.020867638289928436, 0.008478396572172642, -0.02746191993355751, -0.01...
-0.049826
s = pd.Series( { df.index[i]: gm(df.iloc[i: min(i + 51, len(df) - 1)], 5) for i in range(len(df) - 50) } ) s `Rolling apply with a DataFrame returning a Scalar `\_\_ Rolling Apply to multiple columns where function returns a Scalar (Volume Weighted Average Price) .. ipython:: python rng = pd.date\_range(start="2014-01-...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/cookbook.rst
main
pandas
[ -0.010293283499777317, -0.031646378338336945, -0.003406533971428871, -0.030750220641493797, -0.020650606602430344, -0.04744282737374306, -0.016063235700130463, -0.042287684977054596, 0.017887985333800316, 0.004999624565243721, -0.020418554544448853, -0.02453153021633625, -0.07244373857975006...
-0.030006
`\_\_ `Using searchsorted to merge based on values inside a range `\_\_ .. \_cookbook.plotting: Plotting -------- The :ref:`Plotting ` docs. `Make Matplotlib look like R `\_\_ `Setting x-axis major and minor labels `\_\_ `Plotting multiple charts in an IPython Jupyter notebook `\_\_ `Creating a multi-line plot `\_\_ `P...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/cookbook.rst
main
pandas
[ -0.01789017952978611, 0.019195549190044403, -0.006976704113185406, -0.03343329206109047, 0.025958161801099777, -0.009519446641206741, -0.0015257754130288959, -0.0014488567830994725, 0.025824328884482384, -0.001403213944286108, 0.041287802159786224, -0.001894475775770843, 0.008961488492786884...
-0.060991
visible sheets :issue:`19842#issuecomment-892150745` .. \_cookbook.html: HTML \*\*\*\* `Reading HTML tables from a server that cannot handle the default request header `\_\_ .. \_cookbook.hdf: HDFStore \*\*\*\*\*\*\*\* The :ref:`HDFStores ` docs `Simple queries with a Timestamp Index `\_\_ Managing heterogeneous data u...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/cookbook.rst
main
pandas
[ -0.07215528190135956, -0.01488538458943367, -0.011011935770511627, 0.03218818083405495, -0.00698317214846611, -0.07786425203084946, -0.04461897164583206, -0.014910431578755379, 0.012441989034414291, 0.044856034219264984, 0.03783722594380379, -0.025031397119164467, 0.04265127703547478, -0.0...
0.007214
\*\*\*\*\*\*\*\*\*\*\* Often it's useful to obtain the lower (or upper) triangular form of a correlation matrix calculated from :func:`DataFrame.corr`. This can be achieved by passing a boolean mask to ``where`` as follows: .. ipython:: python df = pd.DataFrame(np.random.random(size=(100, 5))) corr\_mat = df.corr() mas...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/cookbook.rst
main
pandas
[ -0.011172914877533913, -0.04753444343805313, -0.08908890932798386, -0.008378964848816395, -0.037452585995197296, -0.008281772024929523, 0.012677076272666454, -0.08275222033262253, -0.009007629938423634, -0.0033123090397566557, 0.03677699342370033, -0.0035322392359375954, -0.04561233147978783...
0.042258
.. \_text: {{ header }} ###################### Working with text data ###################### .. versionchanged:: 3.0 The inference and behavior of strings changed significantly in pandas 3.0. See the :ref:`string\_migration\_guide`. .. \_text.types: Text data types =============== There are two ways to store text data ...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/text.rst
main
pandas
[ -0.0008438739459961653, -0.02239958569407463, 0.003882798133417964, -0.00249689188785851, 0.08460638672113419, -0.06036216393113136, 0.04709639400243759, 0.023321231827139854, -0.024056199938058853, -0.014239509589970112, 0.03719262778759003, -0.0013832475524395704, -0.06193602457642555, 0...
0.022761
can then be used to clean up the columns as needed. Here we are removing leading and trailing whitespaces, lower casing all names, and replacing any remaining whitespaces with underscores: .. ipython:: python df.columns = df.columns.str.strip().str.lower().str.replace(" ", "\_") df .. note:: If you have a ``Series`` wh...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/text.rst
main
pandas
[ 0.008798637427389622, -0.039222851395606995, -0.010576511733233929, 0.02369053289294243, -0.02419484592974186, -0.07405875623226166, -0.061735231429338455, -0.0281748715788126, 0.05551055446267128, 0.002953031100332737, 0.008102839812636375, 0.08629303425550461, -0.11172954738140106, -0.05...
-0.059157
The ``replace`` method also accepts a compiled regular expression object from :func:`re.compile` as a pattern. All flags should be included in the compiled regular expression object. .. ipython:: python import re regex\_pat = re.compile(r"^.a|dog", flags=re.IGNORECASE) s3.str.replace(regex\_pat, "XX-XX ", regex=True) I...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/text.rst
main
pandas
[ -0.019029563292860985, 0.029392164200544357, 0.030052296817302704, 0.01094465795904398, -0.013504560105502605, -0.01323086116462946, -0.04170902818441391, -0.02594660222530365, 0.00790289044380188, 0.027079017832875252, 0.0018743877299129963, 0.009888017550110817, -0.008524380624294281, -0...
-0.022087
the union of these indexes will be used as the basis for the final concatenation: .. ipython:: python u.loc[[3]] v.loc[[-1, 0]] s.str.cat([u.loc[[3]], v.loc[[-1, 0]]], join="right", na\_rep="-") Indexing with ``.str`` ====================== .. \_text.indexing: You can use ``[]`` notation to directly index by position l...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/text.rst
main
pandas
[ -0.014005796983838081, 0.00401201331987977, 0.044520456343889236, -0.005470162257552147, -0.03168266639113426, -0.00858145859092474, 0.03578919172286987, -0.047687411308288574, 0.0060034263879060745, -0.03409641608595848, 0.03416366130113602, 0.03304712101817131, -0.008319485001266003, 0.0...
0.013934
(starts from 0). .. ipython:: python pd.Index(["a1a2", "b1", "c1"]).str.extractall(two\_groups) pd.Series(["a1a2", "b1", "c1"], dtype="str").str.extractall(two\_groups) Testing for strings that match or contain a pattern =================================================== You can check whether elements contain a patter...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/text.rst
main
pandas
[ -0.030807876959443092, 0.009524683468043804, 0.02518363855779171, -0.02981266751885414, 0.021471144631505013, 0.03562558442354202, 0.0020092357881367207, -0.08429642766714096, 0.0165424682199955, -0.06591307371854782, -0.007313678506761789, 0.015441229566931725, -0.06507986783981323, -0.05...
-0.013588
variants ====================================== There are four :class:`StringDtype` variants that are available to users, controlled by the ``storage`` and ``na\_value`` parameters of :class:`StringDtype`. At runtime, these can be checked via the :attr:`StringDtype.storage` and :attr:`StringDtype.na\_value` attributes....
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/text.rst
main
pandas
[ -0.02854033187031746, 0.013195152394473553, -0.07826093584299088, 0.02209778130054474, -0.01576688513159752, -0.08992696553468704, 0.05402889475226402, 0.01741763949394226, -0.0360320545732975, -0.03696398809552193, 0.062121015042066574, 0.027206221595406532, 0.02450687624514103, 0.0227206...
0.083665
each regex capture group :meth:`~Series.str.extractall`,Call ``re.findall`` on each element returning DataFrame with one row for each match and one column for each regex capture group :meth:`~Series.str.len`,Compute string lengths :meth:`~Series.str.strip`,Equivalent to ``str.strip`` :meth:`~Series.str.rstrip`,Equivale...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/text.rst
main
pandas
[ 0.006552204955369234, -0.010588051751255989, -0.047395601868629456, -0.04170576483011246, 0.05687795206904411, -0.04417991638183594, -0.038252975791692734, 0.06250210851430893, -0.01173282042145729, -0.03900175541639328, 0.007396182045340538, -0.0013906133826822042, -0.059355225414037704, ...
-0.061268
.. \_advanced: {{ header }} \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* MultiIndex / advanced indexing \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* This section covers :ref:`indexing with a MultiIndex ` and :ref:`other advanced indexing features `. See the :ref:`Indexing and Selecting D...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/advanced.rst
main
pandas
[ -0.030382590368390083, 0.012602063827216625, 0.031489260494709015, 0.04266829788684845, 0.05971037223935127, -0.02158558927476406, -0.0257322546094656, 0.004086288157850504, -0.05576266348361969, 0.03346134349703789, 0.016016479581594467, -0.03898291289806366, 0.004722022917121649, -0.0003...
0.115303
from using tuples as atomic labels on an axis: .. ipython:: python pd.Series(np.random.randn(8), index=tuples) The reason that the ``MultiIndex`` matters is that it can allow you to do grouping, selection, and reshaping operations as we will describe below and in subsequent areas of the documentation. As you will see i...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/advanced.rst
main
pandas
[ 0.010694971308112144, -0.031916387379169464, -0.017832854762673378, 0.0003892300883308053, 0.047970954328775406, -0.038674816489219666, 0.015137648209929466, -0.009361721575260162, -0.016190018504858017, -0.04326121509075165, 0.010959861800074577, -0.02219550311565399, 0.007427707314491272, ...
0.057868
a slice of tuples. .. ipython:: python df.loc[("baz", "two"):("qux", "one")] df.loc[("baz", "two"):"foo"] Passing a list of labels or tuples works similar to reindexing: .. ipython:: python df.loc[[("bar", "two"), ("qux", "one")]] .. note:: It is important to note that tuples and lists are not treated identically in pa...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/advanced.rst
main
pandas
[ -0.04575890302658081, -0.07819432020187378, 0.010939933359622955, -0.0364932082593441, 0.04143880307674408, -0.011299964040517807, 0.02841428853571415, -0.06725753843784332, 0.024927834048867226, -0.01103942934423685, 0.0026964833959937096, 0.03816085308790207, -0.0441223569214344, -0.0383...
0.053757
data at a particular level of a ``MultiIndex`` easier. .. ipython:: python df df.xs("one", level="second") .. ipython:: python # using the slicers df.loc[(slice(None), "one"), :] You can also select on the columns with ``xs``, by providing the axis argument. .. ipython:: python df = df.T df.xs("one", level="second", ax...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/advanced.rst
main
pandas
[ 0.01303098350763321, -0.0674784928560257, 0.049518242478370667, -0.06229763478040695, 0.08534232527017593, -0.04707394167780876, 0.0608355775475502, -0.044161681085824966, 0.033540621399879456, 0.0007697289693169296, 0.01763731800019741, 0.0038152839988470078, 0.034165866672992706, -0.0022...
-0.061745
"L2"]) s.sort\_index(level="L1") s.sort\_index(level="L2") On higher dimensional objects, you can sort any of the other axes by level if they have a ``MultiIndex``: .. ipython:: python df.T.sort\_index(level=1, axis=1) Indexing will work even if the data are not sorted, but will be rather inefficient (and show a ``Perf...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/advanced.rst
main
pandas
[ 0.05079790949821472, -0.11620506644248962, 0.03269057348370552, -0.03835488110780716, 0.08444609493017197, -0.03318743407726288, -0.012836700305342674, -0.07514186948537827, -0.007496498990803957, 0.02394128404557705, -0.010475150309503078, 0.05049429088830948, -0.017880046740174294, 0.056...
-0.129746
will preserve the index nature as well. .. ipython:: python df2.groupby(level=0, observed=True).sum() df2.groupby(level=0, observed=True).sum().index Reindexing operations will return a resulting index based on the type of the passed indexer. Passing a list will return a plain-old ``Index``; indexing with a ``Categoric...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/advanced.rst
main
pandas
[ -0.012984470464289188, -0.06990236788988113, 0.03512052446603775, 0.06617020815610886, 0.021358629688620567, -0.01704702153801918, 0.027356809005141258, -0.13258661329746246, 0.03144622966647148, -0.027743691578507423, 0.03362942114472389, 0.009775206446647644, -0.08928228169679642, -0.024...
-0.003726
the edges of an interval works as you would expect, selecting that particular interval. .. ipython:: python df.loc[2] df.loc[[2, 3]] If you select a label \*contained\* within an interval, this will also select the interval. .. ipython:: python df.loc[2.5] df.loc[[2.5, 3.5]] Selecting using an ``Interval`` will only re...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/advanced.rst
main
pandas
[ -0.005636129062622786, -0.014145969413220882, 0.05382559821009636, -0.045755524188280106, 0.08843337744474411, -0.055991604924201965, 0.057799264788627625, -0.07630547136068344, 0.004309102427214384, -0.04829201102256775, -0.0040605575777590275, -0.04407426342368126, 0.005899213720113039, ...
-0.042032
with the :meth:`~Index.is\_monotonic\_increasing` and :meth:`~Index.is\_monotonic\_decreasing` attributes. .. ipython:: python df = pd.DataFrame(index=[2, 3, 3, 4, 5], columns=["data"], data=list(range(5))) df.index.is\_monotonic\_increasing # no rows 0 or 1, but still returns rows 2, 3 (both of them), and 4: df.loc[0:...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/advanced.rst
main
pandas
[ 0.021302781999111176, -0.02883945405483246, 0.0704660415649414, -0.05121077597141266, 0.09518196433782578, -0.09823182225227356, -0.009122754447162151, -0.019412674009799957, 0.04792783409357071, -0.00797734223306179, 0.027572540566325188, 0.02926149033010006, -0.05793074518442154, -0.0453...
-0.072717
.. \_visualization: {{ header }} \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Chart visualization \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* .. note:: The examples below assume that you're using `Jupyter `\_. This section demonstrates visualization through charting. For information on visualization of tabular data please see the...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ 0.08871614187955856, -0.01335679180920124, -0.002060118829831481, -0.08680946379899979, 0.06729996204376221, -0.045470792800188065, 0.004085805267095566, 0.011662484146654606, -0.017958341166377068, 0.04405609145760536, -0.004438540432602167, -0.0502953939139843, 0.0021499530412256718, -0....
0.01582
"c", "d"]) @savefig bar\_plot\_multi\_ex.png df2.plot.bar(); To produce a stacked bar plot, pass ``stacked=True``: .. ipython:: python :suppress: plt.close("all") plt.figure() .. ipython:: python @savefig bar\_plot\_stacked\_ex.png df2.plot.bar(stacked=True); To get horizontal bar plots, use the ``barh`` method: .. ipy...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ 0.03108251839876175, -0.05532027408480644, -0.023568637669086456, -0.05840678513050079, 0.004601224325597286, -0.028857208788394928, -0.05475692078471184, 0.08632834255695343, 0.014688911847770214, 0.028407152742147446, 0.018988890573382378, -0.05695216730237007, 0.05636579170823097, -0.00...
-0.081128
= pd.DataFrame(np.random.rand(10, 5)) plt.figure(); @savefig box\_plot\_ex.png bp = df.boxplot() You can create a stratified boxplot using the ``by`` keyword argument to create groupings. For instance, .. ipython:: python :suppress: plt.close("all") np.random.seed(123456) .. ipython:: python :okwarning: df = pd.DataFra...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ 0.05552709475159645, -0.042440690100193024, -0.00965847261250019, 0.015341994352638721, 0.08840109407901764, 0.026639314368367195, -0.03768712282180786, -0.0745440348982811, -0.01725021004676819, 0.0030794828198850155, -0.007758398540318012, 0.006279683206230402, 0.0012129233218729496, -0....
-0.096896
method specifying target ``ax``. It is recommended to specify ``color`` and ``label`` keywords to distinguish each groups. .. ipython:: python :okwarning: ax = df.plot.scatter(x="a", y="b", color="DarkBlue", label="Group 1") @savefig scatter\_plot\_repeated.png df.plot.scatter(x="c", y="d", color="DarkGreen", label="Gr...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ 0.06032808497548103, -0.06650970131158829, -0.028445564210414886, -0.008997914381325245, 0.11859633028507233, 0.032975759357213974, 0.06628815084695816, -0.061569128185510635, 0.012523498386144638, 0.03483382239937782, 0.07536978274583817, -0.028835313394665718, 0.021636588498950005, -0.00...
-0.005722
each pie plots by default; specify ``legend=False`` to hide it. .. ipython:: python :suppress: np.random.seed(123456) plt.figure() .. ipython:: python df = pd.DataFrame( 3 \* np.random.rand(4, 2), index=["a", "b", "c", "d"], columns=["x", "y"] ) @savefig df\_pie\_plot.png df.plot.pie(subplots=True, figsize=(8, 4)); .. ...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ 0.026184333488345146, 0.014025893993675709, 0.015003998763859272, 0.008295749314129353, 0.026227742433547974, 0.027066221460700035, 0.014872771687805653, -0.031852323561906815, 0.03425060212612152, -0.014917885884642601, 0.03516007959842682, -0.0890190377831459, -0.026749636977910995, -0.0...
-0.036768
andrews\_curves.png andrews\_curves(data, "Name"); .. \_visualization.parallel\_coordinates: Parallel coordinates ~~~~~~~~~~~~~~~~~~~~ Parallel coordinates is a plotting technique for plotting multivariate data, see the `Wikipedia entry `\_\_ for an introduction. Parallel coordinates allows one to see clusters in data ...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ -0.0013628575252369046, -0.10967717319726944, -0.06590191274881363, -0.009395154193043709, 0.061583757400512695, -0.03345591574907303, -0.011532370001077652, -0.019811175763607025, 0.08040264993906021, -0.007243399508297443, 0.10904759913682938, 0.011048464104533195, -0.03002847358584404, ...
0.112792
package `Radviz `\_\_ for more information. \*\*Note\*\*: The "Iris" dataset is available `here `\_\_. .. ipython:: python from pandas.plotting import radviz data = pd.read\_csv("data/iris.data") plt.figure(); @savefig radviz.png radviz(data, "Name"); .. ipython:: python :suppress: plt.close("all") .. \_visualization.f...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ 0.0008687904919497669, 0.02484779804944992, -0.046770501881837845, 0.00007910135900601745, 0.0605296865105629, -0.07556864619255066, -0.009322118945419788, 0.053482018411159515, -0.015087184496223927, 0.046015121042728424, -0.004769634455442429, -0.0029858502093702555, 0.015378561802208424, ...
-0.026692
purposes. Here is the default behavior, notice how the x-axis tick labeling is performed: .. ipython:: python plt.figure(); @savefig ser\_plot\_suppress.png df["A"].plot(); .. ipython:: python :suppress: plt.close("all") Using the ``x\_compat`` parameter, you can suppress this behavior: .. ipython:: python plt.figure()...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ -0.006917903199791908, -0.005644115153700113, -0.036983340978622437, 0.008287818171083927, 0.11047288030385971, -0.026547806337475777, 0.018577134236693382, 0.012748324312269688, 0.08331527560949326, 0.023440947756171227, 0.07367455214262009, 0.037568457424640656, 0.004363792948424816, -0....
-0.006426
of errors with column names matching the ``columns`` attribute of the plotting :class:`DataFrame` or matching the ``name`` attribute of the :class:`Series`. \* As a ``str`` indicating which of the columns of plotting :class:`DataFrame` contain the error values. \* As raw values (``list``, ``tuple``, or ``np.ndarray``)....
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ 0.04924537241458893, -0.061127398163080215, 0.009374155662953854, -0.00869559496641159, 0.03976863995194435, -0.04046231135725975, -0.02869446948170662, -0.01831218972802162, -0.022261498495936394, -0.03528916463255882, 0.017564594745635986, -0.02316942624747753, 0.01742532104253769, -0.06...
-0.017629
can be difficult to distinguish some series due to repetition in the default colors. To remedy this, ``DataFrame`` plotting supports the use of the ``colormap`` argument, which accepts either a Matplotlib `colormap `\_\_ or a string that is a name of a colormap registered with Matplotlib. A visualization of the default...
https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/visualization.rst
main
pandas
[ 0.025856109336018562, -0.06495398283004761, -0.042235542088747025, -0.05069965124130249, 0.03677850961685181, -0.0072519974783062935, 0.0027346296701580286, -0.04347535967826843, 0.04712845757603645, -0.07625716924667358, -0.07402198016643524, -0.012930646538734436, -0.0022537477780133486, ...
0.017577
# What to do when things go wrong First, have a look at the common problems listed below. If you can figure it out from these notes, it will be quicker than asking for help. Check that you have the latest version of any packages that look relevant. Unfortunately it's not always easy to figure out what packages are rele...
https://github.com/jupyter/notebook/blob/main/docs/source/troubleshooting.md
main
jupyter
[ 0.05391933396458626, -0.043934669345617294, 0.06072553992271423, -0.0857950747013092, -0.00686295423656702, 0.049000807106494904, -0.08817512542009354, 0.025567103177309036, -0.021781619638204575, 0.051861345767974854, 0.01225161924958229, -0.08561625331640244, 0.026050545275211334, 0.0454...
-0.037934
In these situations, take a close look at your environment structure and ensure all packages required by your notebook's code are installed in the correct environment. If you need to run the kernel from different environments than your Notebook server, check out [IPython's documentation](https://ipython.readthedocs.io/...
https://github.com/jupyter/notebook/blob/main/docs/source/troubleshooting.md
main
jupyter
[ 0.01450693141669035, -0.06753213703632355, 0.01185571774840355, -0.051735688000917435, 0.06413597613573074, -0.07595638930797577, -0.0759812593460083, 0.019438378512859344, -0.020270004868507385, -0.041417863219976425, 0.05443418771028519, -0.01744409278035164, -0.03640558198094368, 0.0177...
0.028343
extension - typically resulting in `FileNotFoundError` exceptions. ## This Worked An Hour Ago The Jupyter stack is very complex and rightfully so, there's a lot going on. On occasion you might find the system working perfectly well, then, suddenly, you can't get past a certain cell due to `import` failures. In these si...
https://github.com/jupyter/notebook/blob/main/docs/source/troubleshooting.md
main
jupyter
[ -0.038892462849617004, 0.0029655226971954107, 0.028793994337320328, -0.02628607302904129, 0.08343840390443802, -0.037040796130895615, -0.03620629012584686, 0.053435470908880234, -0.03022780828177929, -0.0022089648991823196, 0.06961198151111603, -0.016181226819753647, 0.030872760340571404, ...
0.004514
# Migrating \_Updated 2023-05-17\_ ```{warning} Version 7 of the Jupyter Notebook application might break your extensions or other customizations. Please read this page to find out if you need to take any actions to ensure a smooth, uninterrupted experience. ``` A major upgrade to the Jupyter Notebook interface is comi...
https://github.com/jupyter/notebook/blob/main/docs/source/migrate_to_notebook7.md
main
jupyter
[ -0.0127454474568367, -0.017684441059827805, 0.10214891284704208, -0.044529564678668976, 0.054872479289770126, 0.009531293995678425, -0.07521288096904755, 0.02880793996155262, -0.12241576611995697, 0.018206968903541565, 0.017375804483890533, -0.021788667887449265, -0.03805083781480789, 0.00...
0.001357
# User interface components When opening bug reports or sending emails to the Jupyter mailing list, it is useful to know the names of different UI components so that other developers and users have an easier time helping you diagnose your problems. This section will familiarize you with the names of UI elements within ...
https://github.com/jupyter/notebook/blob/main/docs/source/ui_components.md
main
jupyter
[ -0.05634120851755142, -0.0007370952516794205, 0.04982645809650421, 0.00759141007438302, 0.022304996848106384, 0.00047908624401316047, -0.03351996839046478, 0.04705888032913208, 0.011381964199244976, 0.014148256741464138, 0.01673288084566593, -0.03730945289134979, 0.016618825495243073, 0.01...
0.070337
(htmlnotebook)= # The Jupyter Notebook ## Introduction \*\*Jupyter Notebook\*\* is a notebook authoring application, under the [Project Jupyter](https://docs.jupyter.org/en/latest/) umbrella. Built on the power of the [computational notebook format](https://docs.jupyter.org/en/latest/#what-is-a-notebook), \*\*Jupyter N...
https://github.com/jupyter/notebook/blob/main/docs/source/notebook.md
main
jupyter
[ -0.04673270508646965, -0.00012401117419358343, 0.0018027344485744834, -0.01544077880680561, -0.007778158411383629, -0.041878435760736465, -0.0523485466837883, 0.06859064847230911, 0.03179629519581795, 0.020114103332161903, -0.020835356786847115, -0.00724999513477087, 0.048078544437885284, ...
0.16899
your data anywhere else—and as it's open source, other people can check that we're being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or data protection staff about it....
https://github.com/jupyter/notebook/blob/main/docs/source/notebook.md
main
jupyter
[ -0.017490684986114502, 0.0426674522459507, -0.038227856159210205, -0.06074512377381325, -0.003905691672116518, -0.021028589457273483, -0.04912832751870155, 0.026662345975637436, 0.03079938143491745, -0.008030482567846775, 0.06969643384218216, 0.034392546862363815, 0.016491349786520004, -0....
0.083821
the notebook uses the IPython kernel, you can also see this connection data by running the `%connect\_info` {ref}`magic `, which will print the same ID information along with other details. You can then, for example, manually start a Qt console connected to the \_same\_ kernel from the command line, by passing a portio...
https://github.com/jupyter/notebook/blob/main/docs/source/notebook.md
main
jupyter
[ -0.06992541253566742, -0.024889184162020683, -0.09928872436285019, 0.02818124368786812, -0.028225606307387352, 0.024345099925994873, -0.02371903322637081, 0.0778120905160904, 0.05995582044124603, -0.015500251203775406, 0.02723238803446293, -0.01897505670785904, 0.02537655644118786, 0.02037...
0.05147
specify which parts of the text should be emphasized (italics), bold, form lists, etc. If you want to provide structure for your document, you can use markdown headings. Markdown headings consist of 1 to 6 hash # signs `#` followed by a space and the title of your section. The markdown heading will be converted to a cl...
https://github.com/jupyter/notebook/blob/main/docs/source/notebook.md
main
jupyter
[ -0.06959367543458939, 0.019517337903380394, 0.014116061851382256, 0.015979904681444168, 0.022208260372281075, 0.012551040388643742, -0.0014216586714610457, 0.01127298828214407, 0.07868655025959015, 0.03455021604895592, -0.07011041790246964, 0.08663301914930344, 0.06388520449399948, 0.00858...
0.143457
: In command mode, you can navigate around the notebook using keyboard shortcuts. - {kbd}`Enter`: Edit mode : In edit mode, you can edit text in cells. For the full list of available shortcuts, click {guilabel}`Help`, {guilabel}`Keyboard Shortcuts` in the notebook menus. ## Searching Jupyter Notebook has an advanced bu...
https://github.com/jupyter/notebook/blob/main/docs/source/notebook.md
main
jupyter
[ -0.022870907559990883, 0.043622639030218124, -0.021242253482341766, 0.02114662155508995, 0.01354878582060337, 0.010553468950092793, -0.03889518231153488, 0.05557091534137726, 0.06403623521327972, 0.029556050896644592, 0.07296255975961685, 0.020351042971014977, 0.06083516776561737, -0.05266...
0.088434
# Jupyter Notebook Documentation Welcome to the \*\*Jupyter Notebook\*\* documentation site. \*\*Jupyter Notebook\*\* is a simplified notebook authoring application, and is a part of [Project Jupyter](https://docs.jupyter.org/en/latest/), a large umbrella project centered around the goal of providing tools (and [standa...
https://github.com/jupyter/notebook/blob/main/docs/source/index.md
main
jupyter
[ -0.07965051382780075, 0.026875680312514305, 0.00695011205971241, -0.013321580365300179, -0.023852843791246414, -0.03946388512849808, -0.061232421547174454, 0.0342821404337883, 0.029716607183218002, 0.052486177533864975, 0.006542850751429796, 0.00417421804741025, 0.05333981290459633, -0.018...
0.189273
# New features in Notebook 7 This document describes the new features in Notebook 7 as originally mentioned in the related Jupyter Enhancement Proposal [JEP 79][jep 79]. ```{contents} Table of Contents :depth: 3 :local: ``` ## Debugger Notebook 7 includes a new debugger that allows you to step through your code cell by...
https://github.com/jupyter/notebook/blob/main/docs/source/notebook_7_features.md
main
jupyter
[ -0.07207848131656647, -0.005109117366373539, -0.05985397472977638, 0.0061522615142166615, -0.03201097249984741, 0.019734546542167664, -0.05856648087501526, 0.018519602715969086, 0.001168947434052825, 0.04094936326146126, 0.02927973121404648, -0.01585029624402523, -0.02440149337053299, -0.0...
0.158109
you can use the following commands: ```bash pip install jupyter-lsp ``` ```bash conda install -c conda-forge jupyter-lsp ``` Popular extensions like `nbgrader` and `RISE` have already been ported to work with Notebook 7. ### nbgrader ```{note} The nbgrader extension is still under active development and a version compa...
https://github.com/jupyter/notebook/blob/main/docs/source/notebook_7_features.md
main
jupyter
[ -0.06968763470649719, 0.0015507742064073682, -0.012583751231431961, -0.02857913449406624, -0.02792350947856903, 0.016336271539330482, -0.08235852420330048, 0.03900779038667679, -0.038101889193058014, -0.02423938177525997, 0.028309036046266556, -0.015376708470284939, -0.024683674797415733, ...
0.048189
# Applying Custom CSS To apply custom CSS, you can add a `/custom/custom.css` file in the jupyter `config` directory. You can find the path, `~/.jupyter`, to this directory by running `jupyter --paths`. There you can create a folder named `custom` and create a `custom.css` file within the folder. ## Jupyter Styling You...
https://github.com/jupyter/notebook/blob/main/docs/source/custom_css.md
main
jupyter
[ -0.03454214334487915, 0.08076108992099762, 0.020489877089858055, -0.0032278692815452814, -0.018085191026329994, 0.04938798025250435, -0.008290773257613182, 0.04566775634884834, -0.04665924608707428, 0.04605644941329956, -0.050721630454063416, -0.010380147956311703, 0.07956535369157791, -0....
-0.034078
# Simultaneous usage of different versions of Notebook 7 and the Classic Notebook UI With the release of Notebook 7, the classic Notebook UI is now available as a Jupyter Server extension, NbClassic. This means that NbClassic can be installed independently of Notebook 7, and can be also installed alongside Notebook 7. ...
https://github.com/jupyter/notebook/blob/main/docs/source/migrating/multiple-interfaces.md
main
jupyter
[ -0.13148458302021027, 0.021585790440440178, 0.011613418348133564, -0.028048446401953697, -0.03990613669157028, 0.08763695508241653, -0.08848658949136734, 0.06137514114379883, -0.03434843197464943, -0.03464394435286522, -0.020644396543502808, 0.033845946192741394, -0.01671559177339077, 0.02...
0.147296
a Jupyter Server extension, indicated Jupyter Server will be available. This provides an additional way to view the NbClassic frontend. You would be able to manually enable the extension when running an instance of Jupyter Server, `> jupyter server --ServerApp.jpserver\_extensions="nbclassic=True"`, which will provide ...
https://github.com/jupyter/notebook/blob/main/docs/source/migrating/multiple-interfaces.md
main
jupyter
[ -0.003725985065102577, -0.005361400544643402, -0.007956769317388535, 0.00015067378990352154, -0.005598063580691814, 0.0035220312420278788, -0.05412906035780907, 0.0656173899769783, -0.018456321209669113, -0.007970333099365234, -0.09282712638378143, 0.036132972687482834, -0.03734784573316574,...
0.100688
# Custom themes in Notebook 7 In Notebook 7, the way to create custom themes has changed. This means that custom themes developed for Notebook 6 or earlier will not work with Notebook 7 and upwards. This is for example the case for community contributed themes such as [jupyter-themes](https://github.com/dunovank/jupyte...
https://github.com/jupyter/notebook/blob/main/docs/source/migrating/custom-themes.md
main
jupyter
[ 0.0181789081543684, 0.042233046144247055, 0.04684453085064888, -0.0279859472066164, 0.01925404742360115, 0.06027589365839958, -0.05575552582740784, -0.005038395524024963, -0.004557652398943901, -0.0058461446315050125, -0.05539441481232643, 0.01549591962248087, -0.015289044938981533, -0.020...
0.016198
# Server Extensions in Notebook 7 Notebook 7 is now based on Jupyter Server, which is a new server application that allows to run multiple Jupyter applications (e.g. Notebook, JupyterLab, NBClassic, etc.) on the same server. This means that Notebook 7 is able to reuse many of the existing server extensions from the Jup...
https://github.com/jupyter/notebook/blob/main/docs/source/migrating/server-extensions.md
main
jupyter
[ -0.04713433235883713, -0.055323049426078796, 0.0020858386997133493, -0.041970930993556976, -0.0017502374248579144, -0.020852280780673027, -0.0685843676328659, 0.01029884722083807, -0.0357525609433651, -0.03272683545947075, 0.02114267833530903, 0.03940160572528839, 0.006711709313094616, -0....
0.143616
# Server Imports in Notebook 7 Notebook 7 is now based on Jupyter Server, which lets users run multiple Jupyter frontends (e.g. Notebook, JupyterLab, NBClassic, etc.) on the same server. Prior to Notebook 7, the Classic Notebook server included the server modules in the `notebook` package. This means it was possible to...
https://github.com/jupyter/notebook/blob/main/docs/source/migrating/server-imports.md
main
jupyter
[ -0.04218805581331253, -0.06740042567253113, -0.03322529047727585, -0.019848614931106567, -0.015539895743131638, 0.0015303690452128649, -0.014584642834961414, -0.02142150141298771, -0.03137180954217911, 0.001466551679186523, 0.05251035466790199, 0.03781837970018387, 0.06739526242017746, -0....
0.029679
# Frontend Extensions in Notebook 7 ```{warning} Any extension developed for Notebook \< 7 or NbClassic will not be compatible with Notebook 7 and upwards. Some extensions like nbgrader have already been ported. We invite you to check if the extensions you are using have already been ported. ``` You can check the follo...
https://github.com/jupyter/notebook/blob/main/docs/source/migrating/frontend-extensions.md
main
jupyter
[ -0.07660867273807526, -0.023120900616049767, 0.018320264294743538, -0.040652401745319366, -0.009870641864836216, 0.004430205095559359, -0.06035153940320015, 0.05106869712471962, -0.07733134180307388, -0.04197792336344719, -0.005206019151955843, -0.02292502112686634, -0.021562056615948677, ...
0.134288
(frontend-extensions)= # Custom front-end extensions This describes the basic steps to write a TypeScript extension for the Jupyter notebook front-end. This allows you to customize the behaviour of the various pages like the dashboard, the notebook, or the text editor. Starting with Notebook 7, front-end extensions for...
https://github.com/jupyter/notebook/blob/main/docs/source/extending/frontend_extensions.md
main
jupyter
[ -0.06363226473331451, -0.010357702150940895, 0.026992317289114, 0.0045930687338113785, 0.006933150347322226, 0.05194981023669243, -0.006452991161495447, 0.1378912478685379, -0.09554813802242279, 0.013428823091089725, -0.038676340132951736, 0.008744544349610806, -0.024735279381275177, 0.008...
0.159858
# Extending the Notebook ```{warning} Please note that the extension system for Notebook 7 is radically different from the one used in Notebook 6.5.x and earlier. If you are looking for information on how to extend the classic Notebook, please refer to the [documentation for NbClassic](https://nbclassic.readthedocs.io/...
https://github.com/jupyter/notebook/blob/main/docs/source/extending/index.md
main
jupyter
[ -0.03368024528026581, 0.014849619008600712, 0.02170988731086254, -0.03352096304297447, -0.046625711023807526, -0.0037893583066761494, -0.08070509880781174, 0.09163898974657059, -0.040053658187389374, 0.019604694098234177, 0.00869057048112154, 0.08426336944103241, -0.02306337282061577, 0.00...
0.116393
(configuration-overview)= # Configuration Overview Beyond the default configuration settings, you can configure a rich array of options to suit your workflow. Here are areas that are commonly configured when using Jupyter Notebook: > - {ref}`Jupyter's common configuration system ` > - {ref}`Jupyter Server ` > - {ref}`N...
https://github.com/jupyter/notebook/blob/main/docs/source/configuring/config_overview.md
main
jupyter
[ 0.024764034897089005, 0.03033045493066311, 0.0029033140745013952, -0.038765862584114075, -0.05652287229895592, 0.0089840954169631, -0.07959388941526413, 0.041832949966192245, -0.05837935954332352, -0.01984444633126259, -0.02664615772664547, -0.015595214441418648, 0.07435434311628342, -0.07...
0.05296
# Managing plugins Notebook 7 uses the same extension system as JupyterLab. An extension can provide multiple plugins. ```{note} See the [JupyterLab documentation](https://jupyterlab.readthedocs.io/en/latest/user/extensions.html) to learn more about the extension system. ``` ## Examples ### Disabling the download butto...
https://github.com/jupyter/notebook/blob/main/docs/source/configuring/plugins.md
main
jupyter
[ -0.03202126547694206, 0.052075549960136414, -0.009018923155963421, 0.018591806292533875, 0.0014838827773928642, 0.012276160530745983, -0.0015757587971165776, 0.014894044026732445, -0.006358789280056953, 0.028944024816155434, 0.03868303820490837, 0.02852638252079487, 0.011227074079215527, -...
0.102308
# Interface Customization Multiple elements in the Notebook interface can be customized via the Settings Editor. ## Layout By default some widgets are displayed in pre-defined parts of the user interface, which are often called "areas" or "regions". For example the table of contents will be displayed in the `left` area...
https://github.com/jupyter/notebook/blob/main/docs/source/configuring/interface_customization.md
main
jupyter
[ -0.027252085506916046, 0.050896044820547104, -0.024890471249818802, 0.038108665496110916, 0.008259755559265614, 0.06011205166578293, -0.06866439431905746, 0.03739464655518532, -0.025834986940026283, 0.07165119051933289, -0.011034545488655567, 0.08770552277565002, -0.005238513927906752, -0....
0.015789
## Installing & building ### System requirements | Requirement | Details | | --------------------------- | --------------------------------------------------------------- | | Operating systems | macOS 12+, Ubuntu 20.04+/Debian 10+, or Windows 11 \*\*via WSL2\*\* | | Git (optional, recommended) | 2.23+ for built-in PR h...
https://github.com/openai/codex/blob/main/docs/install.md
main
openai-codex
[ -0.01817067340016365, -0.014979341998696327, -0.03316039964556694, -0.005369309335947037, 0.07094746083021164, -0.03164319321513176, -0.013556888327002525, 0.05928866192698479, 0.006288494449108839, 0.05456603690981865, 0.05542619898915291, -0.05115867033600807, 0.0112842358648777, -0.0110...
0.069725
# Configuration For basic configuration instructions, see [this documentation](https://developers.openai.com/codex/config-basic). For advanced configuration instructions, see [this documentation](https://developers.openai.com/codex/config-advanced). For a full configuration reference, see [this documentation](https://d...
https://github.com/openai/codex/blob/main/docs/config.md
main
openai-codex
[ -0.01027468591928482, 0.012891115620732307, -0.00785756204277277, 0.03810378536581993, 0.02103608287870884, -0.07620812952518463, -0.0028307712636888027, -0.034993525594472885, -0.06396336108446121, -0.009804213419556618, 0.044506169855594635, -0.018631771206855774, 0.04036914184689522, 0....
0.060113
# Individual Contributor License Agreement (v1.0, OpenAI) \_Based on the Apache Software Foundation Individual CLA v 2.2.\_ By commenting \*\*“I have read the CLA Document and I hereby sign the CLA”\*\* on a Pull Request, \*\*you (“Contributor”) agree to the following terms\*\* for any past and future “Contributions” s...
https://github.com/openai/codex/blob/main/docs/CLA.md
main
openai-codex
[ -0.1029074415564537, 0.014060900546610355, -0.04786992445588112, -0.059128180146217346, 0.05922554433345795, -0.030197281390428543, 0.025813579559326172, -0.008019980043172836, 0.06464110314846039, 0.005618019495159388, 0.025243917480111122, -0.05025521293282509, 0.0432383269071579, -0.028...
0.104319
## Contributing \*\*External contributions are by invitation only\*\* At this time, the Codex team does not accept unsolicited code contributions. If you would like to propose a new feature or a change in behavior, please open an issue describing the proposal or upvote an existing enhancement request. We prioritize new...
https://github.com/openai/codex/blob/main/docs/contributing.md
main
openai-codex
[ -0.13441818952560425, -0.02669987455010414, -0.011662499979138374, -0.041959717869758606, 0.046486612409353256, 0.015953784808516502, -0.03239087387919426, 0.11129579693078995, -0.03668190911412239, 0.03872973471879959, -0.01832055300474167, -0.08601383864879608, -0.04236564412713051, 0.00...
0.123576
compatibility defaults in mind: omitted `input\_modalities` currently implies text + image support. - Ensure client surfaces that accept images (for example, TUI paste/attach) consume the same capability signal. - Add/update tests that cover unsupported-image behavior and warning paths. ### Opening a pull request (by i...
https://github.com/openai/codex/blob/main/docs/contributing.md
main
openai-codex
[ -0.04239349812269211, 0.01253129169344902, 0.013314514420926571, 0.023553911596536636, 0.03365705907344818, -0.08384235203266144, -0.054990336298942566, 0.11544182151556015, -0.06575547903776169, 0.032450105994939804, 0.06680368632078171, -0.0547751858830452, 0.040433142334222794, 0.062090...
0.054078
[[setup]] = Set up Elasticsearch [partintro] -- This section includes information on how to setup Elasticsearch and get it running, including: \* Downloading \* Installing \* Starting \* Configuring [[supported-platforms]] [float] == Supported platforms The matrix of officially supported operating systems and JVMs is a...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/setup.asciidoc
6.2
elasticsearch-6-2
[ 0.07685336470603943, 0.00100803654640913, 0.002041512168943882, -0.03310200944542885, -0.006133903283625841, 0.00369154941290617, -0.13943369686603546, 0.034409165382385254, -0.04032322019338608, 0.01253216527402401, -0.06907595694065094, -0.03788483142852783, -0.014079674147069454, 0.0562...
0.035986
[[analysis]] = Analysis [partintro] -- \_Analysis\_ is the process of converting text, like the body of any email, into \_tokens\_ or \_terms\_ which are added to the inverted index for searching. Analysis is performed by an <> which can be either a built-in analyzer or a <> analyzer defined per index. [float] == Index...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/analysis.asciidoc
6.2
elasticsearch-6-2
[ -0.016796693205833435, 0.09036554396152496, 0.03987811505794525, 0.07798084616661072, 0.05340933799743652, -0.062317803502082825, 0.03077848069369793, -0.04632839933037758, 0.03804045915603638, -0.01804795116186142, 0.03754609078168869, 0.006187567953020334, 0.041566137224435806, -0.022785...
0.15567
[[index-modules]] = Index Modules [partintro] -- Index Modules are modules created per index and control all aspects related to an index. [float] [[index-modules-settings]] == Index Settings Index level settings can be set per-index. Settings may be: \_static\_:: They can only be set at index creation time or on a <>. ...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/index-modules.asciidoc
6.2
elasticsearch-6-2
[ 0.039798323065042496, 0.02859085239470005, 0.008176419883966446, 0.12197878211736679, 0.012309012934565544, -0.029080165550112724, 0.014204170554876328, -0.04596653953194618, -0.019605206325650215, -0.0488971509039402, 0.004703198559582233, 0.0020118870306760073, 0.005475190468132496, -0.0...
0.110284
memory and time proportional to `from + size` and this limits that memory. See <> or <> for a more efficient alternative to raising this. `index.max\_inner\_result\_window`:: The maximum value of `from + size` for inner hits definition and top hits aggregations to this index. Defaults to `100`. Inner hits and top hits ...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/index-modules.asciidoc
6.2
elasticsearch-6-2
[ -0.016881417483091354, 0.03002203442156315, -0.06725161522626877, 0.0963236391544342, 0.014565611258149147, -0.03440847620368004, -0.040415965020656586, 0.11854007095098495, 0.07925911247730255, 0.056848157197237015, -0.048932578414678574, 0.07469271123409271, 0.008974658325314522, -0.0444...
0.134594
are logged. <>:: Configure the type of filesystem used to access shard data. <>:: Control over the transaction log and background flush operations. -- include::index-modules/analysis.asciidoc[] include::index-modules/allocation.asciidoc[] include::index-modules/mapper.asciidoc[] include::index-modules/merge.asciidoc[] ...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/index-modules.asciidoc
6.2
elasticsearch-6-2
[ 0.07812423259019852, 0.018188925459980965, -0.08756478875875473, 0.04921155050396919, 0.006597959902137518, -0.06012312322854996, 0.018464241176843643, -0.011813709512352943, 0.07375263422727585, 0.011107025668025017, 0.09145887941122055, 0.03438128903508186, -0.055987320840358734, -0.0097...
0.172228
[[query-dsl]] = Query DSL [partintro] -- Elasticsearch provides a full Query DSL (Domain Specific Language) based on JSON to define queries. Think of the Query DSL as an AST (Abstract Syntax Tree) of queries, consisting of two types of clauses: Leaf query clauses:: Leaf query clauses look for a particular value in a pa...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/query-dsl.asciidoc
6.2
elasticsearch-6-2
[ -0.00866174791008234, 0.06484789401292801, 0.042187612503767014, 0.045613646507263184, 0.022463209927082062, -0.04582690820097923, 0.007387317717075348, 0.012323793955147266, 0.06723126769065857, -0.0566859133541584, -0.037368860095739365, -0.01763106696307659, -0.0036316681653261185, -0.0...
0.116528
[[search]] = Search APIs [partintro] -- Most search APIs are <>, with the exception of the <> endpoints. [float] [[search-routing]] == Routing When executing a search, it will be broadcast to all the index/indices shards (round robin between replicas). Which shards will be searched on can be controlled by providing the...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/search.asciidoc
6.2
elasticsearch-6-2
[ 0.007936917245388031, 0.04974238574504852, 0.0069971452467143536, 0.045690711587667465, 0.011780488304793835, -0.04147427901625633, -0.04122399911284447, -0.017566215246915817, 0.08912511169910431, -0.049239225685596466, -0.04703877493739128, 0.00711507024243474, 0.052082665264606476, -0.0...
0.10343
that start after the change is made. [float] [[search-concurrency-and-parallelism]] == Search concurrency and parallelism By default Elasticsearch doesn't reject any search requests based on the number of shards the request hits. While Elasticsearch will optimize the search execution on the coordinating node a large nu...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/search.asciidoc
6.2
elasticsearch-6-2
[ 0.05545223876833916, 0.0018855428788810968, 0.0408320315182209, 0.03400468826293945, -0.013974721543490887, -0.012421779334545135, -0.09418780356645584, 0.0008396801422350109, 0.08139882981777191, 0.0163510013371706, -0.0034648750443011522, 0.0014796877512708306, 0.028761867433786392, -0.0...
0.030178
[[setup-upgrade]] = Upgrade Elasticsearch [partintro] -- Elasticsearch can usually be upgraded using a <> process so upgrading does not interrupt service. However, you might need to <> indices created in older versions. Upgrades across major versions prior to 6.0 require a <>. When upgrading to a new version of Elastic...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/upgrade.asciidoc
6.2
elasticsearch-6-2
[ 0.03750806674361229, -0.041507378220558167, 0.0420348234474659, -0.0286069605499506, 0.05126582458615303, -0.012514670379459858, -0.023016799241304398, -0.031190404668450356, -0.07138756662607193, 0.07491926848888397, -0.04554653540253639, 0.007514514960348606, -0.04709655046463013, -0.102...
0.089946
["appendix",role="exclude",id="redirects"] = Deleted pages The following pages have moved or been deleted. [role="exclude",id="cluster-nodes-shutdown"] === Nodes shutdown The `\_shutdown` API has been removed. Instead, setup Elasticsearch to run as a service (see <>, <>, or <>) or use the `-p` command line option to <>...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/redirects.asciidoc
6.2
elasticsearch-6-2
[ 0.010921885259449482, 0.05979403108358383, 0.055681440979242325, 0.01015226636081934, 0.03984639421105385, 0.01038169115781784, -0.06961489468812943, -0.102452352643013, -0.004197576083242893, 0.05872213467955589, 0.013037397526204586, 0.009995093569159508, 0.04307552054524422, 0.010216081...
0.054518
a query in ``query context'' and as a filter in ``filter context'' (see <>). [role="exclude",id="query-dsl-has-child-filter"] === Has Child Filter The `has\_child` filter has been replaced by the <>. It behaves as a query in ``query context'' and as a filter in ``filter context'' (see <>). [role="exclude",id="query-dsl...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/redirects.asciidoc
6.2
elasticsearch-6-2
[ -0.06164463981986046, 0.07029212266206741, 0.043701767921447754, 0.07635840028524399, 0.05499803274869919, -0.05792972445487976, 0.07693742215633392, -0.06336140632629395, 0.03806477040052414, -0.07203613221645355, 0.03431553766131401, -0.016838237643241882, 0.05561777576804161, -0.0256206...
-0.029129
later allowing to narrow the navigation to a specific partition. In Elasticsearch, `facets` are also the name of a feature that allowed to compute these summaries. `facets` have been replaced by <> in Elasticsearch 1.0, which are a superset of facets. [role="exclude",id="search-facets-filter-facet"] === Filter Facet Fa...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/redirects.asciidoc
6.2
elasticsearch-6-2
[ 0.06934532523155212, 0.11683827638626099, 0.08863698691129684, 0.04443958401679993, 0.06874201446771622, 0.02772846259176731, 0.008143476210534573, -0.08152620494365692, -0.0062730214558541775, -0.024124804884195328, -0.002506544580683112, -0.05274757742881775, 0.05877487361431122, -0.0247...
-0.02221
Reference See the {painless}/painless-api-reference.html[Painless API Reference] in the guide to the {painless}/index.html[Painless Scripting Language].
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/redirects.asciidoc
6.2
elasticsearch-6-2
[ -0.03496680408716202, 0.02074931189417839, -0.07732249051332474, 0.05156582593917847, -0.024166151881217957, -0.06254695355892181, -0.015609531663358212, 0.05603756755590439, 0.0003226564731448889, -0.06958848237991333, 0.044272057712078094, 0.03852109611034393, 0.05108007788658142, 0.0100...
0.182671
[[cat]] = cat APIs [partintro] -- ["float",id="intro"] == Introduction JSON is great... for computers. Even if it's pretty-printed, trying to find relationships in the data is tedious. Human eyes, especially when looking at an ssh terminal, need compact and aligned text. The cat API aims to meet this need. All the cat ...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/cat.asciidoc
6.2
elasticsearch-6-2
[ 0.002584469970315695, 0.10552769899368286, -0.05676546320319176, 0.04960542544722557, -0.05361194908618927, -0.023274969309568405, -0.043531112372875214, 0.017577655613422394, -0.03704904019832611, -0.06585103273391724, -0.01435029786080122, -0.07955671846866608, 0.033498942852020264, 0.00...
0.079428
"docs.count": "0", "docs.deleted": "0", "store.size": "650b" } ] -------------------------------------------------- // NOTCONSOLE [float] [[sort]] === Sort Each of the commands accepts a query string parameter `s` which sorts the table by the columns specified as the parameter value. Columns are specified either by nam...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/cat.asciidoc
6.2
elasticsearch-6-2
[ -0.038181789219379425, -0.008216147311031818, -0.04314790293574333, 0.04477431997656822, -0.061816371977329254, -0.013865435495972633, -0.027507957071065903, 0.06358695775270462, 0.06250560283660889, 0.11501441150903702, 0.08154477179050446, 0.049800947308540344, 0.06942268460988998, -0.04...
0.033291
[[mapping]] = Mapping [partintro] -- Mapping is the process of defining how a document, and the fields it contains, are stored and indexed. For instance, use mappings to define: \* which string fields should be treated as full text fields. \* which fields contain numbers, dates, or geolocations. \* whether the values o...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/mapping.asciidoc
6.2
elasticsearch-6-2
[ 0.06610745191574097, 0.06835581362247467, 0.04552280530333519, 0.018322324380278587, 0.02512950822710991, -0.044481076300144196, 0.014950798824429512, 0.047708988189697266, -0.011052502319216728, -0.008878552354872227, -0.04027084633708, 0.03128120303153992, -0.014257089234888554, -0.06659...
0.17241
<> rules can be configured to customise the mapping that is used for new fields. [float] == Explicit mappings You know more about your data than Elasticsearch can guess, so while dynamic mapping can be useful to get started, at some point you will want to specify your own explicit mappings. You can create field mapping...
https://github.com/elastic/elasticsearch/blob/6.2/docs/reference/mapping.asciidoc
6.2
elasticsearch-6-2
[ -0.026840511709451675, 0.06978297233581543, 0.08284733444452286, 0.07615480571985245, -0.0156832467764616, 0.00765186408534646, -0.05225647985935211, -0.0006945853237994015, 0.05093780532479286, 0.014433261007070541, -0.09933042526245117, -0.007002081722021103, 0.03460830822587013, 0.02664...
0.019581