Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 5 new columns ({'station_name_raw', 'daily_entries', 'station_name', 'station_id', 'date'}) and 5 missing columns ({'dst_station_id', 'edge_type', 'src_station_id', 'weight_default', 'line_name'}).

This happened while the csv dataset builder was generating data using

hf://datasets/olaflaitinen/baku-metro-station-flow/station_entries_daily.csv (at revision 6e4b7930f537a830ee286e880c9a53aa5e78a698), [/tmp/hf-datasets-cache/medium/datasets/24547660762861-config-parquet-and-info-olaflaitinen-baku-metro-s-70d4d8ed/hub/datasets--olaflaitinen--baku-metro-station-flow/snapshots/6e4b7930f537a830ee286e880c9a53aa5e78a698/edges.csv (origin=hf://datasets/olaflaitinen/baku-metro-station-flow@6e4b7930f537a830ee286e880c9a53aa5e78a698/edges.csv), /tmp/hf-datasets-cache/medium/datasets/24547660762861-config-parquet-and-info-olaflaitinen-baku-metro-s-70d4d8ed/hub/datasets--olaflaitinen--baku-metro-station-flow/snapshots/6e4b7930f537a830ee286e880c9a53aa5e78a698/station_entries_daily.csv (origin=hf://datasets/olaflaitinen/baku-metro-station-flow@6e4b7930f537a830ee286e880c9a53aa5e78a698/station_entries_daily.csv), /tmp/hf-datasets-cache/medium/datasets/24547660762861-config-parquet-and-info-olaflaitinen-baku-metro-s-70d4d8ed/hub/datasets--olaflaitinen--baku-metro-station-flow/snapshots/6e4b7930f537a830ee286e880c9a53aa5e78a698/stations.csv (origin=hf://datasets/olaflaitinen/baku-metro-station-flow@6e4b7930f537a830ee286e880c9a53aa5e78a698/stations.csv)]

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              date: string
              station_id: string
              station_name: string
              station_name_raw: string
              daily_entries: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 870
              to
              {'src_station_id': Value('string'), 'dst_station_id': Value('string'), 'edge_type': Value('string'), 'line_name': Value('string'), 'weight_default': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1892, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 5 new columns ({'station_name_raw', 'daily_entries', 'station_name', 'station_id', 'date'}) and 5 missing columns ({'dst_station_id', 'edge_type', 'src_station_id', 'weight_default', 'line_name'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/olaflaitinen/baku-metro-station-flow/station_entries_daily.csv (at revision 6e4b7930f537a830ee286e880c9a53aa5e78a698), [/tmp/hf-datasets-cache/medium/datasets/24547660762861-config-parquet-and-info-olaflaitinen-baku-metro-s-70d4d8ed/hub/datasets--olaflaitinen--baku-metro-station-flow/snapshots/6e4b7930f537a830ee286e880c9a53aa5e78a698/edges.csv (origin=hf://datasets/olaflaitinen/baku-metro-station-flow@6e4b7930f537a830ee286e880c9a53aa5e78a698/edges.csv), /tmp/hf-datasets-cache/medium/datasets/24547660762861-config-parquet-and-info-olaflaitinen-baku-metro-s-70d4d8ed/hub/datasets--olaflaitinen--baku-metro-station-flow/snapshots/6e4b7930f537a830ee286e880c9a53aa5e78a698/station_entries_daily.csv (origin=hf://datasets/olaflaitinen/baku-metro-station-flow@6e4b7930f537a830ee286e880c9a53aa5e78a698/station_entries_daily.csv), /tmp/hf-datasets-cache/medium/datasets/24547660762861-config-parquet-and-info-olaflaitinen-baku-metro-s-70d4d8ed/hub/datasets--olaflaitinen--baku-metro-station-flow/snapshots/6e4b7930f537a830ee286e880c9a53aa5e78a698/stations.csv (origin=hf://datasets/olaflaitinen/baku-metro-station-flow@6e4b7930f537a830ee286e880c9a53aa5e78a698/stations.csv)]
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

src_station_id
string
dst_station_id
string
edge_type
string
line_name
string
weight_default
float64
station_iceriseher
station_sahil
line
Red
1
station_sahil
station_iceriseher
line
Red
1
station_sahil
station_28_may
line
Red
1
station_28_may
station_sahil
line
Red
1
station_28_may
station_genclik
line
Red
1
station_genclik
station_28_may
line
Red
1
station_genclik
station_neriman_nerimanov
line
Red
1
station_neriman_nerimanov
station_genclik
line
Red
1
station_neriman_nerimanov
station_ulduz
line
Red
1
station_ulduz
station_neriman_nerimanov
line
Red
1
station_ulduz
station_koroglu
line
Red
1
station_koroglu
station_ulduz
line
Red
1
station_koroglu
station_qara_qarayev
line
Red
1
station_qara_qarayev
station_koroglu
line
Red
1
station_qara_qarayev
station_neftciler
line
Red
1
station_neftciler
station_qara_qarayev
line
Red
1
station_neftciler
station_xalqlar_dostlugu
line
Red
1
station_xalqlar_dostlugu
station_neftciler
line
Red
1
station_xalqlar_dostlugu
station_ehmedli
line
Red
1
station_ehmedli
station_xalqlar_dostlugu
line
Red
1
station_ehmedli
station_hezi_aslanov
line
Red
1
station_hezi_aslanov
station_ehmedli
line
Red
1
station_neriman_nerimanov
station_bakmil
branch
Red
1
station_bakmil
station_neriman_nerimanov
branch
Red
1
station_xetai
station_cefer_cabbarli
line
Green
1
station_cefer_cabbarli
station_xetai
line
Green
1
station_cefer_cabbarli
station_nizami
line
Green
1
station_nizami
station_cefer_cabbarli
line
Green
1
station_nizami
station_elmler_akademiyasi
line
Green
1
station_elmler_akademiyasi
station_nizami
line
Green
1
station_elmler_akademiyasi
station_insaatcilar
line
Green
1
station_insaatcilar
station_elmler_akademiyasi
line
Green
1
station_insaatcilar
station_20_yanvar
line
Green
1
station_20_yanvar
station_insaatcilar
line
Green
1
station_20_yanvar
station_memar_eceemi
line
Green
1
station_memar_eceemi
station_20_yanvar
line
Green
1
station_memar_eceemi
station_nesimi
line
Green
1
station_nesimi
station_memar_eceemi
line
Green
1
station_nesimi
station_azadliq_prospekti
line
Green
1
station_azadliq_prospekti
station_nesimi
line
Green
1
station_azadliq_prospekti
station_dernegul
line
Green
1
station_dernegul
station_azadliq_prospekti
line
Green
1
station_avtovagzal
station_memar_eceemi_2
line
Purple
1
station_memar_eceemi_2
station_avtovagzal
line
Purple
1
station_memar_eceemi_2
station_8_noyabr
line
Purple
1
station_8_noyabr
station_memar_eceemi_2
line
Purple
1
station_8_noyabr
station_xocesen
line
Purple
1
station_xocesen
station_8_noyabr
line
Purple
1
station_28_may
station_cefer_cabbarli
transfer
Transfer
1
station_cefer_cabbarli
station_28_may
transfer
Transfer
1
station_memar_eceemi
station_memar_eceemi_2
transfer
Transfer
1
station_memar_eceemi_2
station_memar_eceemi
transfer
Transfer
1
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
End of preview.

Baku Metro Station Flow

Summary

Processed station-level daily passenger entry observations for next-day forecasting benchmarks.

Source Provenance

The upstream observations originate from the Azerbaijan open data portal pages for Baku Metro daily station passenger entries.

Collection and Release Process

The repository downloader retrieves official CSV resources and preserves raw files before deterministic normalization and station-date aggregation.

Schema

  • date: canonical observation date
  • station_id: stable station identifier
  • station_name: canonical station name
  • station_name_raw: raw source station strings contributing to the aggregate row
  • daily_entries: aggregated station-level daily entry count

Split Definition

  • train: target dates in 2025
  • validation: target dates in 2026-01
  • test: target dates in 2026-02
  • future_holdout: later dates if new source files are added

Preprocessing

The repository performs station alias normalization, duplicate station-date aggregation, leakage-safe lag and rolling feature construction, and time-based split assignment.

Intended Uses

  • station-level passenger entry forecasting
  • federated learning benchmarking
  • urban mobility machine learning experiments

Limitations

  • entry counts only
  • no route inference or origin-destination recovery
  • no claim of formal privacy protection

Bias, Risk, and Responsible Use

Operational, calendar, and reporting biases in the official source may propagate into the processed release.

License and Redistribution Note

The upstream portal license could not be confirmed programmatically with sufficient certainty at packaging time. This repository therefore documents provenance conservatively and does not assert an inferred license over the upstream public observations.

Repository Code License

The repository code, documentation source, configuration files, and release tooling that produce this dataset bundle are licensed under Apache-2.0.

Maintainer

  • Maintainer: Olaf Yunus Laitinen Imanov
  • Repository: olaflaitinen/baku-metro-federated-learning
Downloads last month
33

Models trained or fine-tuned on olaflaitinen/baku-metro-station-flow