I once imported 5 thousand data but from Frappe there was a timeout and it only worked for 2 thousand data, does that mean there is a limit on the amount of data for import?
No limit…but…the import process is very intensive, and if you do too many records, the cumulative timeouts can cause failures. Best option is to break the import into multiple parts of say 5 files of ~1000 records each
Either that or import the file through the bench as a background job.
https://frappeframework.com/docs/user/en/guides/data/import-large-csv-file