Skip to content

Commit 395dc7b

Browse files
DOC: replace placeholder URL with real dataset
1 parent c19f0df commit 395dc7b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/source/user_guide/io.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6521,8 +6521,9 @@ The files ``test.pkl.compress``, ``test.parquet`` and ``test.feather`` took the
65216521
24458940 Oct 10 06:44 test_table.hdf
65226522
24458940 Oct 10 06:44 test_table_compress.hdf
65236523
6524-
Loading data in Google Colab
6525-
'''''''''''''''''''''''''''
6524+
Loading data in Google Colab notebooks
6525+
'''''''''''''''''''''''''''''''''''''''
6526+
65266527

65276528
Google Colab is a hosted Jupyter notebook environment. Since it runs remotely,
65286529
files must be explicitly uploaded or mounted before they can be read by pandas.
@@ -6540,6 +6541,7 @@ Files can be uploaded directly to the Colab runtime using ``google.colab.files``
65406541
import pandas as pd
65416542
df = pd.read_csv("data.csv")
65426543
6544+
65436545
Using Google Drive
65446546
~~~~~~~~~~~~~~~~~~
65456547

@@ -6561,4 +6563,5 @@ Data hosted remotely can be read directly using a URL:
65616563
.. code-block:: python
65626564
65636565
import pandas as pd
6564-
df = pd.read_csv("https://example.com/data.csv")
6566+
df = pd.read_csv("https://raw.githubusercontent.com/pandas-dev/pandas/main/doc/data/air_quality_no2.csv")
6567+

0 commit comments

Comments
 (0)