Comments (6)
@xiaozhao1795 改动是不报错了,但是生成的文件列数是91个,原来是85个,同时post_publish_time时间列也变串行了
df= df.apply(lambda x:get_one_content(x).squeeze(), axis=1, result_type= "expand", ) 不指定new_columns 就可以了,post_publish_time 串行没啥关系
from fingpt.
Hi, frank. I'm sorry but I can't judge your problem just through a single error. Would you please show me the specific codes that went wrong or show me the full callbacks of your error?
from fingpt.
Hi, frank. I'm sorry but I can't judge your problem just through a single error. Would you please show me the specific codes that went wrong or show me the full callbacks of your error?
您好,我是在为 FinGPT v1准备资料的时候,我首先运行download_titles.py
Collecting 300339
Geting pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Get total 37 pages.
All Done!
获得了股票的csv,然后在运行download_contents.py时,
300339.csv
If using all scalar values, you must pass an index
All Done!
出现了这个错误,现在csv文件里并没有下载加入任何新的信息。
from fingpt.
I am also
from fingpt.
Hi, frank. I'm sorry but I can't judge your problem just through a single error. Would you please show me the specific codes that went wrong or show me the full callbacks of your error?
您好,我是在为 FinGPT v1准备资料的时候,我首先运行download_titles.py Collecting 300339 Geting pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Get total 37 pages. All Done!
获得了股票的csv,然后在运行download_contents.py时,
300339.csv If using all scalar values, you must pass an index All Done!
出现了这个错误,现在csv文件里并没有下载加入任何新的信息。
修改下get_one_content()函数方法中的 res = pd.Series(res).to_frame().T 改成 res = pd.Series(res).to_frame().T.reset_index(drop=True); 同时修改get_content()函数中的df[new_columns] = df.apply(lambda x:get_one_content(x), axis = 1, result_type= "expand", )改成 df[new_columns] = df.apply(lambda x:get_one_content(x).squeeze(), axis = 1, result_type= "expand", ) 就可以了,可以试试
from fingpt.
@xiaozhao1795 改动是不报错了,但是生成的文件列数是91个,原来是85个,同时post_publish_time时间列也变串行了
from fingpt.
Related Issues (20)
- TypeError: 'NoneType' object cannot be interpreted as an integer HOT 1
- quetions about FinGPT-RAG
- CUDA out of memory on Google Colab when trying to run beginners notebook HOT 2
- test_dataset = load_from_disk('data/fingpt-forecaster-dow30v3-20221231-20230531-llama/')['test'] 数据是从哪里下载的 HOT 2
- Error when trying to run with a Quantized base model
- FinGPT_Forecaster中prepare_data.ipynb的map_bin_label函数是不是漏了一个加号 HOT 1
- How do I use this framework to retrieve financial news/articles?
- It's hard to download eastmoney content HOT 1
- Deploy the forecaster demo on Mac M chips HOT 1
- Fingpt forecastor backtesting HOT 3
- Reproducing sentiment finetuning train_lora extremely slow HOT 1
- FileNotFoundError: Directory data/fingpt-forecaster-dow30v3-20221231-20230531-llama/ not found
- Multi-Tasking with FinGPT HOT 1
- Do you support China's stock forecast HOT 1
- Forecaster binary accuracy and mse
- Dataset for FinForcaster.
- Fine-tuning error. HOT 3
- should hugginface app work? HOT 4
- Is FinGPTv1/2/3 made by finetuning General LLM (Llama or ChatGLM) with Language Modeling task, or Sentiment Analysis task, or both?
- Question for Hallucination PDF
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fingpt.