You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/getting_started/comparison/comparison_with_excel.rst
+36-5Lines changed: 36 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,26 @@ effectively.
64
64
Commonly used Excel functionalities
65
65
-----------------------------------
66
66
67
+
Importing data
68
+
~~~~~~~~~~~~~~
69
+
70
+
Both `Excel <https://support.microsoft.com/en-us/office/import-data-from-external-data-sources-power-query-be4330b3-5356-486c-a168-b68e9e616f5a>`_
71
+
and :ref:`pandas <10min_tut_02_read_write>` can import data from various sources in various
72
+
formats. Let's load and display the `tips <https://github.com/pandas-dev/pandas/blob/master/pandas/tests/io/data/csv/tips.csv>`_
73
+
dataset from the pandas tests, which is a CSV file.
74
+
75
+
In Excel, you would download and then `open the CSV <https://support.microsoft.com/en-us/office/import-or-export-text-txt-or-csv-files-5250ac4c-663c-47ce-937b-339e391393ba>`_.
76
+
In pandas, you pass the URL or local path of the CSV file to :func:`~pandas.read_csv`:
0 commit comments