Delete readme.txt
Browse files- readme.txt +0 -20
readme.txt
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
358,551 video urls and associated metadata from pexels.com.
|
2 |
-
|
3 |
-
Data was extracted from their video sitemaps (pexels.com/robots.txt) on 01/08/2022.
|
4 |
-
|
5 |
-
Data is stored in PexelVideos.parquet.gzip as a gzipped parquet
|
6 |
-
|
7 |
-
To get this data ensure you have git installed and do !git lfs clone https://huggingface.co/datasets/Corran/pexelvideos/
|
8 |
-
|
9 |
-
In python the reccomended reading is by opening the file with pandas.
|
10 |
-
|
11 |
-
!pip install pandas
|
12 |
-
import pandas
|
13 |
-
data=pd.read_parquet('PexelVideos.parquet.gzip')
|
14 |
-
|
15 |
-
Get a specific url and its metadata using data.iloc[0], read this like a python dict
|
16 |
-
|
17 |
-
e.g to get the url for index i
|
18 |
-
url= df.iloc[0]["content_loc"]
|
19 |
-
|
20 |
-
https://pandas.pydata.org/pandas-docs/version/1.1/getting_started/index.html#getting-started
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|