File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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
65276528Google Colab is a hosted Jupyter notebook environment. Since it runs remotely,
65286529files 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+
You can’t perform that action at this time.
0 commit comments