@@ -9,48 +9,53 @@ Getting started
9
9
Installation
10
10
------------
11
11
12
- .. panels ::
13
- :card: + install-card
14
- :column: col-lg-6 col-md-6 col-sm-12 col-xs-12 p-3
12
+ .. grid :: 1 2 2 2
13
+ :gutter: 4
15
14
16
- Working with conda?
17
- ^^^^^^^^^^^^^^^^^^^
15
+ .. grid-item-card :: Working with conda?
16
+ :class-card: install-card
17
+ :columns: 12 12 6 6
18
+ :padding: 3
18
19
19
- pandas is part of the `Anaconda <https://docs.continuum.io/anaconda/ >`__
20
- distribution and can be installed with Anaconda or Miniconda:
20
+ pandas is part of the `Anaconda <https://docs.continuum.io/anaconda/ >`__
21
+ distribution and can be installed with Anaconda or Miniconda:
21
22
22
- ++++++++++++++++++++++
23
+ ++++++++++++++++++++++
23
24
24
- .. code-block :: bash
25
+ .. code-block :: bash
25
26
26
- conda install pandas
27
+ conda install pandas
27
28
28
- ---
29
+ .. grid-item-card :: Prefer pip?
30
+ :class-card: install-card
31
+ :columns: 12 12 6 6
32
+ :padding: 3
29
33
30
- Prefer pip?
31
- ^^^^^^^^^^^
34
+ pandas can be installed via pip from `PyPI <https://pypi.org/project/pandas >`__.
32
35
33
- pandas can be installed via pip from ` PyPI < https://pypi.org/project/pandas >`__.
36
+ ++++
34
37
35
- ++++
38
+ .. code-block :: bash
36
39
37
- .. code-block :: bash
40
+ pip install pandas
38
41
39
- pip install pandas
42
+ .. grid-item-card :: In-depth instructions?
43
+ :class-card: install-card
44
+ :columns: 12
45
+ :padding: 3
40
46
41
- ---
42
- :column: col-12 p-3
47
+ Installing a specific version? Installing from source? Check the advanced
48
+ installation page.
43
49
44
- In-depth instructions?
45
- ^^^^^^^^^^^^^^^^^^^^^^
50
+ +++
46
51
47
- Installing a specific version? Installing from source? Check the advanced
48
- installation page.
52
+ .. button-ref :: install
53
+ :ref-type: ref
54
+ :click-parent:
55
+ :color: secondary
56
+ :expand:
49
57
50
- .. link-button :: ./install.html
51
- :type: url
52
- :text: Learn more
53
- :classes: btn-secondary stretched-link
58
+ Learn more
54
59
55
60
56
61
.. _gentle_intro :
@@ -536,91 +541,110 @@ Coming from...
536
541
Are you familiar with other software for manipulating tabular data? Learn
537
542
the pandas-equivalent operations compared to software you already know:
538
543
539
- .. panels ::
540
- :img-top-cls: dark-light
541
- :card: + comparison-card text-center shadow
542
- :column: col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex
544
+ .. grid :: 1 2 2 2
545
+ :gutter: 4
546
+ :class-container: sd-text-center sd-d-inline-flex
543
547
544
- ---
545
- :card: + comparison-card-r
546
- :img-top: ../_static/logo_r.svg
548
+ .. grid-item-card ::
549
+ :img-top: ../_static/logo_r.svg
550
+ :columns: 12 6 6 6
551
+ :class-card: comparison-card
552
+ :shadow: md
547
553
548
- The `R programming language <https://www.r-project.org/ >`__ provides the
549
- ``data.frame `` data structure and multiple packages, such as
550
- `tidyverse <https://www.tidyverse.org >`__ use and extend ``data.frame ``
551
- for convenient data handling functionalities similar to pandas.
554
+ The `R programming language <https://www.r-project.org/ >`__ provides the
555
+ ``data.frame `` data structure and multiple packages, such as
556
+ `tidyverse <https://www.tidyverse.org >`__ use and extend ``data.frame ``
557
+ for convenient data handling functionalities similar to pandas.
552
558
553
- +++
559
+ +++
554
560
555
- .. link-button :: compare_with_r
556
- :type: ref
557
- :text: Learn more
558
- :classes: btn-secondary stretched-link
561
+ .. button-ref :: compare_with_r
562
+ :ref-type: ref
563
+ :click-parent:
564
+ :color: secondary
565
+ :expand:
559
566
567
+ Learn more
560
568
561
- ---
562
- :card: + comparison-card-sql
563
- :img-top: ../_static/logo_sql.svg
569
+ .. grid-item-card ::
570
+ :img-top: ../_static/logo_sql.svg
571
+ :columns: 12 6 6 6
572
+ :class-card: comparison-card
573
+ :shadow: md
564
574
565
- Already familiar to ``SELECT ``, ``GROUP BY ``, ``JOIN ``, etc.?
566
- Most of these SQL manipulations do have equivalents in pandas.
575
+ Already familiar to ``SELECT ``, ``GROUP BY ``, ``JOIN ``, etc.?
576
+ Most of these SQL manipulations do have equivalents in pandas.
567
577
568
- +++
578
+ +++
569
579
570
- .. link-button :: compare_with_sql
571
- :type: ref
572
- :text: Learn more
573
- :classes: btn-secondary stretched-link
580
+ .. button-ref :: compare_with_sql
581
+ :ref-type: ref
582
+ :click-parent:
583
+ :color: secondary
584
+ :expand:
574
585
586
+ Learn more
575
587
576
- ---
577
- :card: + comparison-card-stata
578
- :img-top: ../_static/logo_stata.svg
588
+ .. grid-item-card ::
589
+ :img-top: ../_static/logo_stata.svg
590
+ :columns: 12 6 6 6
591
+ :class-card: comparison-card
592
+ :shadow: md
579
593
580
- The ``data set `` included in the `STATA <https://en.wikipedia.org/wiki/Stata >`__
581
- statistical software suite corresponds to the pandas ``DataFrame ``.
582
- Many of the operations known from STATA have an equivalent in pandas.
594
+ The ``data set `` included in the `STATA <https://en.wikipedia.org/wiki/Stata >`__
595
+ statistical software suite corresponds to the pandas ``DataFrame ``.
596
+ Many of the operations known from STATA have an equivalent in pandas.
583
597
584
- +++
598
+ +++
585
599
586
- .. link-button :: compare_with_stata
587
- :type: ref
588
- :text: Learn more
589
- :classes: btn-secondary stretched-link
600
+ .. button-ref :: compare_with_stata
601
+ :ref-type: ref
602
+ :click-parent:
603
+ :color: secondary
604
+ :expand:
590
605
606
+ Learn more
591
607
592
- ---
593
- :card: + comparison-card-excel
594
- :img-top: ../_static/spreadsheets/logo_excel.svg
608
+ .. grid-item-card ::
609
+ :img-top: ../_static/spreadsheets/logo_excel.svg
610
+ :columns: 12 6 6 6
611
+ :class-card: comparison-card
612
+ :shadow: md
595
613
596
- Users of `Excel <https://en.wikipedia.org/wiki/Microsoft_Excel >`__
597
- or other spreadsheet programs will find that many of the concepts are
598
- transferrable to pandas.
614
+ Users of `Excel <https://en.wikipedia.org/wiki/Microsoft_Excel >`__
615
+ or other spreadsheet programs will find that many of the concepts are
616
+ transferrable to pandas.
599
617
600
- +++
618
+ +++
601
619
602
- .. link-button :: compare_with_spreadsheets
603
- :type: ref
604
- :text: Learn more
605
- :classes: btn-secondary stretched-link
620
+ .. button-ref :: compare_with_spreadsheets
621
+ :ref-type: ref
622
+ :click-parent:
623
+ :color: secondary
624
+ :expand:
606
625
626
+ Learn more
607
627
608
- ---
609
- :card: + comparison-card-sas
610
- :img-top: ../_static/logo_sas.svg
628
+ .. grid-item-card ::
629
+ :img-top: ../_static/logo_sas.svg
630
+ :columns: 12 6 6 6
631
+ :class-card: comparison-card
632
+ :shadow: md
611
633
612
- The `SAS <https://en.wikipedia.org/wiki/SAS_(software) >`__ statistical software suite
613
- also provides the ``data set `` corresponding to the pandas ``DataFrame ``.
614
- Also SAS vectorized operations, filtering, string processing operations,
615
- and more have similar functions in pandas.
634
+ The `SAS <https://en.wikipedia.org/wiki/SAS_(software) >`__ statistical software suite
635
+ also provides the ``data set `` corresponding to the pandas ``DataFrame ``.
636
+ Also SAS vectorized operations, filtering, string processing operations,
637
+ and more have similar functions in pandas.
616
638
617
- +++
639
+ +++
618
640
619
- .. link-button :: compare_with_sas
620
- :type: ref
621
- :text: Learn more
622
- :classes: btn-secondary stretched-link
641
+ .. button-ref :: compare_with_sas
642
+ :ref-type: ref
643
+ :click-parent:
644
+ :color: secondary
645
+ :expand:
623
646
647
+ Learn more
624
648
625
649
Tutorials
626
650
---------
0 commit comments